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