Skip to main content

How do I restrict commands to a certain channel?

note

The steps below only apply to prefixed commands - not slash commands. See https://discord.com/blog/slash-commands-permissions-discord-apps-bots for more information on restricting slash commands.

If you want to allow commands in only one, or a couple channels, you can do the following:

  1. Disable every module. Note that you cannot disable the permissions module. You can get a list of modules by doing help modules and you can disable the module by running disable [command/module].

Disabling each module

  1. Use the channel-override command to allow the modules in the desired channel.

Override allowing the module