Skip to main content
Version: 0.37.38

APIRole

Index

Properties

color

color: number

Integer representation of hexadecimal color code

hoist

hoist: boolean

If this role is pinned in the user listing

optionalicon

icon?: null | string

The role icon hash

id

id: string

Role id

managed

managed: boolean

Whether this role is managed by an integration

mentionable

mentionable: boolean

Whether this role is mentionable

name

name: string

Role name

permissions

permissions: string

position

position: number

Position of this role

optionaltags

The tags this role has

optionalunicode_emoji

unicode_emoji?: null | string

The role unicode emoji as a standard emoji