Mention Permissions

why wont my bot ping @.here in interaction.reply my bot has MentionEveryone perms as well as admin in the server (Slash Command)
20 Replies
d.js docs
d.js docs3y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
phoenixx
phoenixxOP3y ago
interaction.appPermissions.has(PermissionsBitField.MentionEveryone) --> It logged true
phoenixx
phoenixxOP3y ago
monbrey
monbrey3y ago
What have you set allowedMentions to in Client constructor, anything?
phoenixx
phoenixxOP3y ago
phoenixx
phoenixxOP3y ago
Yes the bot is in the guild
phoenixx
phoenixxOP3y ago
phoenixx
phoenixxOP3y ago
phoenixx
phoenixxOP3y ago
no i just thought giving it administrator would ping it Any idea what permissions I should have
phoenixx
phoenixxOP3y ago
phoenixx
phoenixxOP3y ago
phoenixx
phoenixxOP3y ago
Alright, I'll also ask there, just wanted to double check here if there was a problem with my code how would i do this allowedMentions
phoenixx
phoenixxOP3y ago
is this right?
phoenixx
phoenixxOP3y ago
it is put after content and after allowedMentions is my menu
phoenixx
phoenixxOP3y ago
phoenixx
phoenixxOP3y ago
so i can't ping @here in a message?
phoenixx
phoenixxOP3y ago
?
phoenixx
phoenixxOP3y ago
i tried pinging @everyone and it works but when i trie @here it gives an error ohh everyone is for both @everyone and @here I was putting here in parse
phoenixx
phoenixxOP3y ago
I'm not sure why this isn't working tho
phoenixx
phoenixxOP3y ago
is it not going through cause it's unable to process the @here? lemme remove here from content they asked me to do allowedMentions so I came back here I'm going to ask them for roles now Well i specifically asked for @.here im gonna ask for role now If they don't have an answer, I'll try #djs-help-v14 then contact support okay if you're talking about trying to ping the role with that allowedMentions, sadly no it dont
Want results from more Discord servers?
Add your server