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
- 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!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>?
I have not made any intentional restrictions on mentions, what could they look alike so I can check for them. thank you
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
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.
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
Oooh, I may know the problem you’re encountering. Are you using followUp to send the message / are you referring the reply?