Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/discordeno_patched/template/minimal/deps.ts>getEmojiURL

Discord API library for Node and Deno
Latest
function getEmojiURL
import { getEmojiURL } from "https://deno.land/x/discordeno_patched@18.0.3/template/minimal/deps.ts";

Builds a URL to an emoji in the Discord CDN.

Parameters

_bot: Bot
  • The ID of the emoji to access.
emojiId: BigString
  • Whether the emoji is animated or static.
optional
animated = [UNSUPPORTED]

Returns

string

The link to the resource.