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

x/oasis/packages/deps.ts>EmojiToggles

An object oriented Discordeno framework
Latest
class EmojiToggles
Re-export
import { EmojiToggles } from "https://deno.land/x/oasis@2.1.0/packages/deps.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.