interface RoleData

export interface RoleData

The data for a role.

optional
colors? : RoleColorsResolvable

The colors of the role

optional
hoist? : boolean

Whether or not the 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

optional
mentionable? : boolean

Whether or not the role should be mentionable

optional
name? : string

The name of the role

optional
permissions? : PermissionResolvable

The permissions of the role

optional
position? : number

The position of the role

optional
unicodeEmoji? : string | null

The unicode emoji for the role