$hasRoles
$hasRoles check if the provided user has the roles listed in the roles argument.
Usage
$hasRoles[guildID;userID;...roles]Parameters
| Field | Type | Description | Required | 
|---|---|---|---|
| guildID | number | ID of the guild where the roles are present in. | true | 
| userID | number | ID of the user which has the roles. | true | 
| …roles | number | The roles that will be checked for. | true | 
Example(s)
This will return true when the user has the listed roles:
1client.command({2    name: "hasRoles",3    code: `4  $hasRoles[$guildID;$authorID;$findRole[Owner]]5  `6});