interface RoleCreateOptions
extends
RoleDataexport interface RoleCreateOptions extends RoleData
Options used to create a new role.
externalColorResolvable color :
The data to create the role with
externalboolean hoist :
Whether or not the new role should be hoisted
optionalexternalBufferResolvable | Base64Resolvable | EmojiResolvable icon? :
The icon for the role The EmojiResolvable
should belong to the same guild as the role. If not, pass the emoji's URL directly
externalboolean mentionable :
Whether or not the new role should be mentionable
externalstring name :
The name of the new role
externalPermissionResolvable permissions :
The permissions for the new role
externalnumber position :
The position of the new role
optionalstring reason? :
The reason for creating this role
optionalexternalstring unicodeEmoji? :
The unicode emoji for the role