Module

x/discordeno/mod.ts>getEmojis

Discord API library for Deno
Latest
function getEmojis
import { getEmojis } from "https://dotland.deno.dev/x/discordeno@18.0.1/mod.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 {@link Emoji} objects assorted by emoji ID.