$roleExists
$roleExists
will check if a certain role exists within a certain guild.
Usage
$roleExists[roleResolver;guildID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
roleResolver | number | ID of the role you want to check if it exists. | true |
guildID? | number | ID of the guild where the role exists. | false |
Example(s)
This will return false
as this role doesn’t exist in your guild:
1client.command({2 name: "roleExists",3 code: `4 $roleExists[900004369355931729;$guildID]5 `6});