Bot tags not sending a notification to users tagged.

Why does my discord js bot tagging people not send them a notification, is this normal behaviour?
7 Replies
d.js toolkit
d.js toolkit15mo 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!
lupus
lupus15mo ago
Did you restrict mentions in some way when defining the client? Does the bot have some other permission problem perhaps? Are you mentioning them with the format <@ID>?
me3za
me3zaOP15mo ago
I have not made any intentional restrictions on mentions, what could they look alike so I can check for them. thank you
d.js docs
d.js docs15mo ago
Tag suggestion for @me3za: You can control which entities receive notifications via the allowedMentions option. You can: - Set a default on the client - Set for a specific message - Use the repliedUser key to disable in-line reply mentions
{ ..., allowedMentions: { parse: ["users", "roles"] } }
{ ..., allowedMentions: { parse: ["users", "roles"] } }
lupus
lupus15mo ago
They look something like this when defining the client and/or explicitely when sending a message. You could also try setting this setting to allow the mention, maybe that works.
me3za
me3zaOP15mo ago
I have not found anything that I could use to make the reply to slash commands send a ping, what I did is I sent a message in the channel and when it has mentions it pings people just as any other normal message would, replies work differently I guess. anyways thank you so much hug
lupus
lupus15mo ago
Oooh, I may know the problem you’re encountering. Are you using followUp to send the message / are you referring the reply?
Want results from more Discord servers?
Add your server