Permissions
If you want to limit the visibility of bot commands for a specific channel or role, you can do it in the “Integrations” tab in the server settings.
Open "Integrations" tab in server settings and select the bot:

Users with administrator privileges on the server will not be restricted
Global limiting for role
To restrict bot commands for the selected role you must disable access for @everyone
and add the role using the button above.

Global limiting for channel
To limit bot commands for a selected channel you must disable access for All Channels and add a channel using the button above.

Limiting for commands
In the tab, there is an option to limit visibility for individual bot commands.
Select the bot command you want to restrict.

Select the roles/channels on which the command should or should not work.

Last updated