$blackListServers

Blocks certain servers from using the command.

Syntax

$blackListServers[Guild IDs;...;Error message]

Parameters

  • Guild IDs (Type: Snowflake || Flag: Emptiable): The server(s) to blacklist from using a command. Use semicolons ; as a separator to separate multiple server IDs.

    Where do I find server IDs? (click-me)

  • Error message (Type: String || Flag: Emptiable): The message that will be sent if the command is run in a blacklisted server.

Example

$nomention
$blackListServers[1009018669982031912;❌ You can't use this command!]
Pong! $ping ms
*Guild ID: $guildID*
!example ❌ You can't use this command! !example Pong! 1 ms
Guild ID: 1009018669982031912