APIRole

export interface APIRole
export interface APIRole
color:number
Integer representation of hexadecimal color code
Remarks
color will still be returned by the API, but using the colors field is recommended when doing requests.
The role's colors
flags:RoleFlags
Role flags
hoist:boolean
If this role is pinned in the user listing
icon?:string | null
The role icon hash
Role id
managed:boolean
Whether this role is managed by an integration
mentionable:boolean
Whether this role is mentionable
name:string
Role name
permissions:Permissions
Permission bit set
position:number
Position of this role
The tags this role has
unicode_emoji?:string | null
The role unicode emoji as a standard emoji