$deleteRoles
Deletes one or more roles from the server.
Usage:
$deleteRoles[roleID1;roleID2;roleID3;...]
Parameters:
roleID1;roleID2;roleID3;...: A semicolon-separated list of role IDs to delete. You can specify multiple role IDs to delete several roles at once.
Example:
$deleteRoles[879889890890890]
This will delete the role with the ID 879889890890890.
Example with multiple roles:
$deleteRoles[879889890890890;987654321098765]
This will delete the role with the ID 879889890890890 and the role with the ID 987654321098765.
Related Functions
- $deleteChannels: Deletes one or more channels.
- $deleteThreads: Deletes one or more threads.
Function difficulty: Easy
Tags: role delete delete role remove 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.