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

x/discordeno/mod.ts>EmojiToggles

Discord API library for Deno
Extremely Popular
Go to Latest
class EmojiToggles
extends ToggleBitfield
Re-export
import { EmojiToggles } from "https://deno.land/x/discordeno@17.2.0/mod.ts";

Constructors

new
EmojiToggles(roleOrTogglesInt: DiscordEmoji | number)

Properties

readonly
animated

Whether this emoji is animated

readonly
available

Whether this emoji can be used, may be false due to loss of Server Boosts

readonly
managed

Whether this emoji is managed

readonly
requireColons

Whether this emoji must be wrapped in colons

Methods

has(permissions: EmojiToggleKeys | EmojiToggleKeys[])

Checks whether or not the permissions exist in this

Lists all the toggles for the role and whether or not each is true or false.