Latest
interface DiscordRole
import { type DiscordRole } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";

Properties

id: string

Role id

hoist: boolean

If this role is showed separately in the user listing

permissions: string

Permission bit set

managed: boolean

Whether this role is managed by an integration

mentionable: boolean

Whether this role is mentionable

optional
tags: DiscordRoleTags

The tags this role has

optional
icon: string

the role emoji hash

name: string

Role name

color: number

Integer representation of hexadecimal color code

position: number

Position of this role

optional
unicode_emoji: string

role unicode emoji

import DiscordRole
import { DiscordRole } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";