$giveRoles

Gives a user a role

Usage:

$giveRoles[userID;roleID 1;roleID 2;roleID 3;...]


Member07/28/2026
!!exec $giveRoles[$authorID;$roleID[Muted]]

Used Functions

$roleID, to return a roleID by name of it

$authorID, to return the ID of the command executor

Related Functions

$toggleRoles, to toggle user's roles

$takeRoles, to take roles from a user

$setRoles, to take all roles from a user & give the specified roles back

Function difficulty: Medium
Tags: Give Roles add role give role member role

⏱️ Function Cooldown

This function has a built-in cooldown to help prevent excessive usage.

PropertyValue
⏱️ Duration6 seconds
🆔 Tracked ByUser ID
🌐 ScopeUserupdate

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.