$createRole

Creates a new role.

Usage

$createRole[roleName;colorHex;hoist (yes/no);mentionable (yes/no)]

Parameters

  • roleName (Type: String || Flag: Required): The name to give the new role.
  • colorHex (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.

Example1

  • 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.

Example2

Example

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

example1

example1.5