$rolePerms
$rolePerms
will return all permissions of a given role.
Usage
$rolePerms[roleID;sep?;guildID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
roleID | number | The role ID. | true |
sep? | number | Separator to separate multiple returned values. | false |
guildID? | number | The guild ID. | false |
Example(s)
This will return the permissions for the @everyone
role:
1client.command({2 name: "rolePerms",3 code: `4 $rolePerms[$guildID;, ;$guildID]5 `6});