interface RoleCreateOptions

extends

RoleData
export interface RoleCreateOptions extends RoleData

Options used to create a new role.

Constructors

constructor()

external
color : ColorResolvable

The data to create the role with

external
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

external
mentionable : boolean

Whether or not the new role should be mentionable

external
name : string

The name of the new role

external
permissions : PermissionResolvable

The permissions for the new role

external
position : number

The position of the new role

optional
reason? : string

The reason for creating this role

optionalexternal
unicodeEmoji? : string

The unicode emoji for the role