$createRole
Creates a role in the server
Usage:
$createRole[name;color (optional);mentionable (optional);hoisted (optional);position (optional);permission;permission;...;return role id (yes/no, default no, optional)]
Example:
$createRole[Orange;#ffa500] this will create a role with the name Orange with the color orange.
Available Permissions
This list of all valid channel types
Related Functions
$createChannel, creates a channel
Function difficulty: Medium
Tags: channel create createRole make role
⏱️ 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.