@everyone ping Bug ?

interaction.channel.send({
content: "@everyone " /* + member.toString() */,
allowedMentions: {
roles: [guild.roles.everyone.id],
},
});
interaction.channel.send({
content: "@everyone " /* + member.toString() */,
allowedMentions: {
roles: [guild.roles.everyone.id],
},
});
doesnt ping but this does:
interaction.channel.send({
content: "@everyone " /* + member.toString() */,
});
interaction.channel.send({
content: "@everyone " /* + member.toString() */,
});
8 Replies
d.js toolkit
d.js toolkit9mo 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!
Kumar
Kumar9mo ago
discord.js@14.13.0
ShompiFlen
ShompiFlen9mo ago
thats not how you ping a role < @roleid > without spaces between brackets
treble/luna
treble/luna9mo ago
for the everyone role thzt works though but those allowedmentions look incorrect ah wait
ShompiFlen
ShompiFlen9mo ago
ive never understood how allowed mentions is supposed to work
treble/luna
treble/luna9mo ago
me neither
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
RandomNoob
RandomNoob9mo ago
You can just do:
allowedMentions: { everyone: true }
allowedMentions: { everyone: true }