$setRoleColor
$setRoleColor
will set a roles’ color.
Usage
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: