Preview environment

interface RoleEditOptions

extends

RoleData
export interface RoleEditOptions extends RoleData

Options for editing a role

optional
color? : ColorResolvable

The color of the role, either a hex string or a base 10 number

Inherited from: RoleData

optional
hoist? : boolean

Whether or not the role should be hoisted

Inherited from: RoleData

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

Inherited from: RoleData

optional
mentionable? : boolean

Whether or not the role should be mentionable

Inherited from: RoleData

optional
name? : string

The name of the role

Inherited from: RoleData

optional
permissions? : PermissionResolvable

The permissions of the role

Inherited from: RoleData

optional
position? : number

The position of the role

Inherited from: RoleData

optional
reason? : string

The reason for editing this role

optional
unicodeEmoji? : string | null

The unicode emoji for the role

Inherited from: RoleData