Skip to main content

By Channel

Commands can be allowed or denied in a specific channel using the channel-override command. Even if a command was disabled entirely using the disable command, channel-override can be used to enable the command in a specific channel only, and vice versa.

Overrides apply to the channel you run the command in. You need the Manage Server permission to use it.

channel-override


Disabling a command in a channel​

Use the channel-override command
!channel-override deny <command or module>

Allowing a command to be used in a channel​

Use the channel-override command
!channel-override allow <command or module>

Resetting an override​

You can reset a command that was allowed or denied. If the command was disabled for the server using the disable command previously, this means the command will also be disabled in the channel if reset, and vice versa.

Use the channel-override command
!channel-override delete <command or module>

deleting a channel override


Viewing currently allowed or denied commands​

Use the command-status command
!command-status <channel>

command-status command

To check whether a single command or module will work in a channel, use !test <command or module>.


Additional considerations​

  • More specific settings win. A command override takes priority over a module override. For example, if the games module is denied in a channel and the blackjack command is allowed, blackjack can be used there. If the module is allowed and the command is denied, it can't.
  • Channel overrides take priority over server-wide settings made with enable and disable.
  • Threads use the overrides of the channel they were created in.
  • Overrides only apply to text commands. See Slash commands to manage slash commands.