$setRoles

Gives a user specific roles and removes all other ones

Usage:

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


Member02/20/2024
!!exec $setRoles[$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

$giveRoles, to give roles to a user

$takeRoles, to take roles from a user

$toggleRoles, to toggle roles from a user

Function difficulty: Medium
Tags: Set role Give Roles Take Roles Member role