$ignoreChannels

The command can’t be executed in any of the provided channels. If the channel is ignored, then the provided “Error message” is returned.

Syntax

$ignoreChannels[Channel IDs;...;Error message]

Parameters

  • Channel IDs (Type: Snowflake || Flag: Emptiable): The channels to ignore. Use semicolons ; as a separator to separate multiple channel IDs.
  • Error message (Type: String || Flag: Emptiable): The message that is returned when the channel is ignored.

Example

$nomention
$ignoreChannels[566370477967147018;❌ That command can't be used in this channel!]
Hello world!
!example ❌ That command can't be used in this channel! !example Hello world!