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
• 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 ThreadChannel#parent
The parent channel of this threadcheck the channel type
In what situations can .parent be undefined
only null
but if it's thread channel
parent won't be ever null
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
ty