$modifyRole
Modifies the permissions from a role.
Usage:
$modifyRole[roleID;name (optional);color (optional);mentionable(yes/no, optional);hoisted(yes/no, optional);position (optional)]
Example:
$modifyRole[$roleID[moderators]];;#666666;yes;yes] This will edit the color of the mod role
Used Functions
$roleID, to return a roleID by name of it
Related Functions
$editChannel, to modify the name or category from a channel
$modifyRolePerms, to modify the role's perms
Function difficulty: Medium
Tags: Role edit modify role edit role change role name
⏱️ 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.