$blackListRoles

Blocks users with certain role(s) from using the command. If the user has any role in the blacklist, they will not be able to run the command. Uses role names instead of role IDs.

Syntax

$blackListRoles[role names;...;error message]

Parameters

  • role names (Type: String || Flag: Emptiable): The name(s) of the role(s) to blacklist. Separate role names using ;.
  • error message (Type: String || Flag: Emptiable): The message that will be sent if the user has a role from the blacklist.

Example

$nomention
$blackListRoles[Owner;Bot;❌ You can't use this command!]
Pong! $ping ms

example