$setRoleColor
$setRoleColor
will set a roles’ color.
Usage
$setRoleColor[roleID;color]
Parameters
Field | Type | Description | Required |
---|---|---|---|
roleID | number | The ID of the role that will be modified. | true |
color | string | The new (hex) color. | true |
Example(s)
This will change a random role’s color to red:
1client.command({2 name: "setRoleColor",3 code: `4 $setRoleColor[$randomRoleID;Red]`5});
1client.command({2 name: "setRoleColor",3 code: `4 $setRoleColor[$randomRoleID;ED4245]`5});