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
d.js toolkit
d.js toolkit4w ago
- 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 staff
AJ
AJOP4w ago
No description
AJ
AJOP4w ago
REPLIES_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?
d.js docs
d.js docs4w ago
documentation suggestion for @AJ: :dtypes: v10: MessageType read more
Mark
Mark4w ago
Actually, that may be incorrect :Thonk: I'm gonna look some more
AJ
AJOP4w ago
thanks
Mark
Mark4w ago
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
d.js docs
d.js docs4w ago
:property: Message#system @14.16.3 Whether or not this message was sent by Discord, not actually a user (e.g. pin notifications)
Mark
Mark4w ago
@AJ there you go
AJ
AJOP4w ago
Thanks very much!
Want results from more Discord servers?
Add your server