Check if a ThreadChannel is a forum thread

Is it possible to check if a ThreadChannel/AnyThreadChannel is a forum thread channel without fetching the parent channel?
6 Replies
d.js docs
d.js docs3y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out property ThreadChannel#parent The parent channel of this thread
MrMythical
MrMythical3y ago
check the channel type
jr
jrOP3y ago
In what situations can .parent be undefined
Jaworek
Jaworek3y ago
only null but if it's thread channel parent won't be ever null
Kinect3000
Kinect30003y ago
Only if it’s not cached So if you don’t have the guilds intent, setup a sweeper that uncaches it or manually uncache it
jr
jrOP3y ago
ty
Want results from more Discord servers?
Add your server