#Permissions for Slash commands option

6 messages · Page 1 of 1 (latest)

north nimbus
#

Are there a way to register as slash command option to only specific members? i.e I want the command itself to be for everyone but a specific option should only be for a specific permission/role. I know I could just make a optional option and check the role based on that but it would be cool to only show it based on perms/role

sacred otter
#

• 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.

hushed gorge
#

The only way that could work is by deploying an identical command as guild command with different permissions set and containing the additional option

lime prawn
north nimbus
#

oof sorry, did not get a chance to read these