$blackListRoles
Users wearing any of the role IDs in the blacklist cannot execute the command.

FUNCTION USAGE

  • $blackListRoles[roleID;roleID;roleID;...;error]

Properties:

roleID - The ID of the role(s) to blacklist. error - The message to send to the channel if the user is wearing a blacklisted role.
1
bot.Command({
2
name: "say",
3
code: `
4
$username[] said - $message[]
5
$blackListRoles[626353513208855280;466264356645823495;You're wearing a role that's blacklisted from using this command]
6
$onlyIf[$message[]!=;Want me to say something for you? Don't leave anything blank.]
7
`})
Copied!
Last modified 5mo ago
Copy link
Contents
Properties: