Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natico/examples/deps.ts>Role

A powerful and customizable framework for Discordeno
Latest
interface Role
Re-export
import { type Role } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

Properties

id: string

Role id

name: string

Role name

color: number

Integer representation of hexadecimal color code

hoist: boolean

If this role is showed seperately in the user listing

position: number

Position of this role

permissions: string

Permission bit set

managed: boolean

Whether this role is managed by an integration

mentionable: boolean

Whether this role is mentionable

optional
tags: RoleTags

The tags this role has

optional
unicodeEmoji: string

role unicode emoji

optional
icon: string

the role emoji hash