interface PartialRoleData
extends
RoleDataexport interface PartialRoleData extends RoleDataPartial data for a Role.
color : ColorResolvable
The color of the role, either a hex string or a base 10 number
hoist : boolean
Whether the role should be hoisted
optionalicon? : BufferResolvable | Base64Resolvable | EmojiResolvable | null
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
mentionable : boolean
Whether the role should be mentionable
name : string
The name of the role
permissions : PermissionResolvable
The permissions of the role
position : number
The position of the role