Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
class EmojiToggles
extends ToggleBitfield
import { EmojiToggles } from "https://deno.land/x/discordeno@13.0.0-rc45/transformers/toggles/emoji.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

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.