Skip to main content
Module

x/discord_api_types/v10.ts>APIRole

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APIRole
Re-export
import { type APIRole } from "https://deno.land/x/discord_api_types@0.37.11/v10.ts";

Properties

Role id

name: string

Role name

color: number

Integer representation of hexadecimal color code

hoist: boolean

If this role is pinned in the user listing

optional
icon: string | null

The role icon hash

optional
unicode_emoji: string | null

The role unicode emoji as a standard emoji

position: number

Position of this role

permissions: Permissions
managed: boolean

Whether this role is managed by an integration

mentionable: boolean

Whether this role is mentionable

optional
tags: APIRoleTags

The tags this role has