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 toolkit4mo 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
AJOP4mo ago
No description
AJ
AJOP4mo 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 docs4mo ago
documentation suggestion for @AJ: :dtypes: v10: MessageType read more
Mark
Mark4mo ago
Actually, that may be incorrect :Thonk: I'm gonna look some more
AJ
AJOP4mo ago
thanks
Mark
Mark4mo 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 docs4mo 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
Mark4mo ago
@AJ there you go
AJ
AJOP4mo ago
Thanks very much!

Did you find this page helpful?