@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 toolkit14mo 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!
ShompiFlen
ShompiFlen14mo ago
thats not how you ping a role < @roleid > without spaces between brackets
treble/luna
treble/luna14mo ago
for the everyone role thzt works though but those allowedmentions look incorrect ah wait
ShompiFlen
ShompiFlen14mo ago
ive never understood how allowed mentions is supposed to work
treble/luna
treble/luna14mo ago
me neither
Unknown User
Unknown User14mo ago
Message Not Public
Sign In & Join Server To View
Spam
Spam14mo ago
You can just do:
allowedMentions: { everyone: true }
allowedMentions: { everyone: true }
Want results from more Discord servers?
Add your server