RoleCreateOptions

export interface RoleCreateOptions extends RoleData
export interface RoleCreateOptions extends RoleData
Options used to create a new role.

Extends

RoleData
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
The permissions for the new role
position:number
The position of the new role
reason?:string
The reason for creating this role
unicodeEmoji?:string
The unicode emoji for the role