Skip to content

Commit c2f80a4

Browse files
committed
chore: clarify hiding of commands
original PR: discordjs/guide#1617
1 parent 1ecaefc commit c2f80a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/guide/content/docs/legacy/slash-commands/permissions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The slash command permissions for guilds are defaults only and can be altered by
1414

1515
## Member permissions
1616

17-
You can use `SlashCommandBuilder#setDefaultMemberPermissions` to set the default permissions required for a member to run the command. Setting it to `0` will prohibit anyone in a guild from using the command unless a specific overwrite is configured or the user has the Administrator permission flag.
17+
You can use `SlashCommandBuilder#setDefaultMemberPermissions` to set the default permissions required for a member to run the command. Setting it to `0` will hide the command from and prohibit anyone in a guild from using the command unless a specific overwrite is configured or the user has the Administrator permission flag.
1818

1919
For this, you'll introduce two common and simple moderation commands: `ban` and `kick`. For a ban command, a sensible default is to ensure that users already have the Discord permission `BanMembers` in order to use it.
2020

0 commit comments

Comments
 (0)