Skip to main content
Module

x/discordeno/mod.ts>EmojiToggles

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

Constructors

new
EmojiToggles(role: DiscordEmoji)

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

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.