interface RoleCreateOptions
extends
RoleDataexport interface RoleCreateOptions extends RoleDataOptions used to create a new role.
color : ColorResolvable
The data to create the role with
hoist : boolean
Whether or not the new role should be hoisted
optionalicon? : 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
mentionable : boolean
Whether or not the new role should be mentionable
name : string
The name of the new role
permissions : PermissionResolvable
The permissions for the new role
position : number
The position of the new role
optionalreason? : string
The reason for creating this role
optionalunicodeEmoji? : string
The unicode emoji for the role