interface PartialRoleData
extends
RoleDataexport interface PartialRoleData extends RoleData
Partial data for a Role.
ColorResolvable color :
The color of the role, either a hex string or a base 10 number
boolean hoist :
Whether the role should be hoisted
optionalBufferResolvable | Base64Resolvable | EmojiResolvable | null 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
Inherited from: RoleData
The role's id, used to set channel overrides. This is a placeholder and will be replaced by the API after consumption
boolean mentionable :
Whether the role should be mentionable
string name :
The name of the role
PermissionResolvable permissions :
The permissions of the role
number position :
The position of the role