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

x/discordeno/plugins/cache/deps.ts>getEmojis

Discord API library for Deno
Latest
function getEmojis
import { getEmojis } from "https://deno.land/x/discordeno@18.0.1/plugins/cache/deps.ts";

Gets the list of emojis for a guild.

Parameters

bot: Bot
  • The bot instance to use to make the request.
guildId: BigString
  • The ID of the guild which to get the emojis of.

Returns

Promise<Collection<bigint, Emoji>>

A collection of Emoji objects assorted by emoji ID.