$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.

PropertyValue
⏱️ Duration1 minute
🆔 Tracked ByServer
🌐 ScopeRoleupdate

Functions with the same Scope share cooldowns based on the same Tracked By value.

💎 Tier 3+ servers bypass this cooldown. See Premium Perksopen in new window.