Interface APIRole

Hierarchy

  • APIRole

Properties

color: number

Integer representation of hexadecimal color code

flags: InPrompt

Role flags

hoist: boolean

If this role is pinned in the user listing

icon?: null | string

The role icon hash

id: string

Role id

managed: boolean

Whether this role is managed by an integration

mentionable: boolean

Whether this role is mentionable

name: string

Role name

permissions: string
position: number

Position of this role

The tags this role has

unicode_emoji?: null | string

The role unicode emoji as a standard emoji

Generated using TypeDoc