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

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

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

Deletes an emoji from a guild.

Parameters

bot: Bot
  • The bot instance to use to make the request.
guildId: BigString
  • The ID of the guild from which to delete the emoji.
  • The ID of the emoji to delete.
optional
reason: string

Returns

Promise<void>