$modifyRolePerms
$modifyRolePerms
will modify a given role’s permissions.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID | number | The guild ID of where the role is located in. | true |
roleID | number | Role ID of the role which will be modified. / $guildID represents the @everyone role | true |
…perms | string | Permissions to modify. | true |
Description | |
---|---|
- | Deny a specific permission to someone or something. |
+ | Allow a specific permission to someone or something. |
/ | Reset a specific permission to its default state. |
You can find all permissions here.
Example(s)
This will edit a existing role’s permission and allow the “@everyone” role to send messages and add reactions.