Bot tries to reply to a system message.. but what is it?
What would the system message even be? I thought only users get these DMs from Discord 'SYSTEM' or is it bots too? If so, that'd explain it. Also, not really sure this is a discord.js thing, I just don't know where else to ask it.
10 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by staffREPLIES_CANNOT_REPLY_TO_SYSTEM_MESSAGE
I do also have a check that
if(message.author.bot) return;
Is there a check for a system message that I could use and return
?Actually, that may be incorrect :Thonk: I'm gonna look some more
thanks
Never mind, that is correct, it's just there's no one "system message" type, they're all individually listed in the enum
So it's it's possible, but not simple
:property: Message#system
@14.16.3
Whether or not this message was sent by Discord, not actually a user (e.g. pin notifications)@AJ there you go
Thanks very much!