Skip to main content
Module

x/harmony/mod.ts>EmojisManager

An easy to use Discord API Library for Deno.
Latest
class EmojisManager
Re-export
import { EmojisManager } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Constructors

new
EmojisManager(client: Client)

Methods

fetch(guildID: string, id: string): Promise<Emoji>

Fetches an Emoji by Guild ID and Emoji ID, cache it and resolve it

get(key: string): Promise<Emoji | undefined>
resolve(key: string, guild?: string | Guild): Promise<Emoji | undefined>

Try to get Emoji from cache, if not found then fetch