$blackListRolesIDs

Block users with certain roles from using the command. If the user has any role in the blacklist, they will not be able to run the command.

Syntax

$blackListRolesIDs[role IDs;...;error message]

Parameters

  • role IDs (Type: Snowflake || Flag: Emptiable): The roles that will be blacklisted. Separate role IDs using ;.
  • error message (Type: String || Flag: Emptiable): The message that will be sent if the user has a role from the blacklist.

Example

$nomention
$blackListRolesIDs[1009019299987476540;1014547313957539901;❌ You can't use this command!]
Pong! $ping ms

example