interface RoleCreateOptions

extends

RoleData
export interface RoleCreateOptions extends RoleData

Options used to create a new role.

The data to create the role with

hoist : boolean

Whether or not the new role should be hoisted

The icon for the role The EmojiResolvable should belong to the same guild as the role. If not, pass the emoji's URL directly

mentionable : boolean

Whether or not the new role should be mentionable

name : string

The name of the new role

permissions : PermissionResolvable

The permissions for the new role

position : number

The position of the new role

optional
reason? : string

The reason for creating this role

optional
unicodeEmoji? : string

The unicode emoji for the role