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

x/discordeno/helpers/emojis/mod.ts>getEmojiURL

Discord API library for Deno
Extremely Popular
Go to Latest
function getEmojiURL
import { getEmojiURL } from "https://deno.land/x/discordeno@17.2.0/helpers/emojis/mod.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.