Is there a way to make slash commands hidden for people with lower perms?
I know this is possible for a guild only server, how do I do it with Sapphire?
Solution:Jump to solution
if ur using the SlashCommandBuilder, then use the
setDefaultMemberPermissions
method, otherwise the defaultMemberPermissions
property2 Replies
Solution
if ur using the SlashCommandBuilder, then use the
setDefaultMemberPermissions
method, otherwise the defaultMemberPermissions
propertyas for how its done with sapphire: https://www.sapphirejs.dev/docs/Guide/commands/application-commands/application-command-registry/registering-chat-input-commands
Sapphire Framework
Registering Chat Input Commands | Sapphire
To register a Chat Input Command (also known as a Slash Command) with Discord, you need to acquire an application