PartialRoleData

export interface PartialRoleData extends RoleData
export interface PartialRoleData extends RoleData
Partial data for a Role.

Extends

RoleData
The color of the role, either a hex string or a base 10 number
Inherited from RoleData
hoist?:boolean
Whether or not the role should be hoisted
Inherited from RoleData
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
id?:Snowflake | number
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 or not the role should be mentionable
Inherited from RoleData
name?:string
The name of the role
Inherited from RoleData
The permissions of the role
Inherited from RoleData
position?:number
The position of the role
Inherited from RoleData
unicodeEmoji?:string | null
The unicode emoji for the role
Inherited from RoleData