$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 built-in cooldown. Why? Read more about cooldowns here.
- Cooldown: 1 minute
- Tracked By: Server
- Type:
roleupdate
Functions with the same type share cooldowns based on the same Tracked By value.