$rolePerms
$rolePerms
will return all given permissions of a 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});