Channels and roles

$createRole[name;color?;separate?;mentionable?]

Creates a role and returns its ID. The bot and the member using the command need the Manage Roles permission.

Values

name
The role name, up to 100 characters.
color
Optional. A color like #cba6f7, no color if empty.
separate
Optional. Yes to show members with this role in their own group in the member list.
mentionable
Optional. Yes to let everyone mention the role.

Example

$giveRole[$userID;$createRole[Team $username;#cba6f7;yes]]

Creates the role Team mira and gives it to mira

All functions