setDefaultMemberPermissions

Does the SlashCommandBuilder#setDefaultMemberPermissions() method work? I configured the permissions in my commands but when I go to the integrations page it shows the command available to everyone in the server. I have .setDefaultMemberPermissions(PermissionFlagsBits.ModerateMembers) on my commands.
3 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.
Squid
Squid3y ago
The integrations UI doesn't show default member permissions, so even if it did register, it wouldn't show I recommend that you use an alt account and type / to see if infracciones shows up
yibuh
yibuhOP3y ago
I see, that was it. Members do not have access to the command. Ty so much ❤️
Want results from more Discord servers?
Add your server