$createRole

Creates a new role.

Syntax

$createRole[Role name;Color hex;Hoist?;Mentionable?]

Parameters

  • Role name (Type: String || Flag: Required): The name to give the new role.
  • Color hex (Type: Color || Flag: Required): The color hex of the new role.
  • Hoist? (Type: Bool || Flag: Vacantable): Whether the role should be displayed separately (hoisted) or not. no means the role won't be hoisted, yes means it will.
    example
  • Mentionable? (Type: Bool || Flag: Vacantable): Whether the role should be mentionable by everyone. no means the role won't be mentionable, yes means it will.
    example

Example

$nomention
$createRole[Cool Role;#FFFF00;yes;no]
Created new role!

example
example