interface RoleCreateOptions
extends
RoleDataexport interface RoleCreateOptions extends RoleDataOptions used to create a new role.
externalcolor : ColorResolvable
The data to create the role with
externalhoist : boolean
Whether or not the new role should be hoisted
optionalexternalicon? : BufferResolvable | Base64Resolvable | EmojiResolvable
The icon for the role The EmojiResolvable should belong to the same guild as the role. If not, pass the emoji's URL directly
externalmentionable : boolean
Whether or not the new role should be mentionable
externalname : string
The name of the new role
externalpermissions : PermissionResolvable
The permissions for the new role
externalposition : number
The position of the new role
optionalreason? : string
The reason for creating this role
optionalexternalunicodeEmoji? : string
The unicode emoji for the role