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

x/discordeno/packages/embeds/deps.ts>getEmojiURL

Discord API library for Deno
Go to Latest
function getEmojiURL
import { getEmojiURL } from "https://deno.land/x/discordeno@17.0.1/packages/embeds/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.