You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possible cause (I'm almost certain that this is the cause):
It tries to run this.channel?.viewable on the thread channel but thread channels do not have a viewable property resulting in null/false
Possible cause (I'm almost certain that this is the cause):
It tries to run this.channel?.viewable on the thread channel but thread channels do not have a viewable property resulting in null/false
Yep, that'll be the cause. Thread channels don't have this property, so this becomes undefined, so the expression becomes true && true && (false || undefined) which gets converted to false.
Issue description
Steps to reproduce:
messageCreate
event.Possible cause (I'm almost certain that this is the cause):
It tries to run
this.channel?.viewable
on the thread channel but thread channels do not have aviewable
property resulting in null/falseSource
Code sample
discord.js version
13.3.1
Node.js version
16.6.1
Operating system
Windows
Priority this issue should have
Low (slightly annoying)
Which partials do you have configured?
No Partials
Which gateway intents are you subscribing to?
GUILDS, GUILD_MEMBERS, GUILD_BANS, GUILD_MESSAGES, GUILD_MESSAGE_REACTIONS, GUILD_MESSAGE_TYPING
I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered: