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

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.