$modifyRolePerms
Modifies the permissions from a role.
Usage:
$modifyRolePerms[roleID;+perm1;-perm2;/perm3;+perm4;...]
Example:
$modifyRolePerms[$roleID[muted];-sendmessages;] this will modify the perms of the role muted, to not be able to send messages
Permissions
Check this list to view all permissions names
Used Functions
$roleID, to return a roleID by name of it
Related Functions
$modifyChannelPerms, to modify the perms of a channel
$modifyRole, to edit the role's name or color
Information
Use a + sign to grand permission for a certain key;
Use - to deny a permission for a certain key;
Use / to reset a permission for a certain key.
Function difficulty: Difficult
Tags: Role modify modify role edit role change role perms
⏱️ Function Cooldown
This function has a built-in cooldown to help prevent excessive usage.
| Property | Value |
|---|---|
| ⏱️ Duration | 1 minute |
| 🆔 Tracked By | Server |
| 🌐 Scope | Roleupdate |
Functions with the same Scope share cooldowns based on the same
Tracked Byvalue.
💎 Tier 3+ servers bypass this cooldown. See Premium Perks.