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

x/discordeno/template/beginner/deps.ts>editEmoji

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

Edits an emoji.

Parameters

bot: Bot
  • The bot instance to use to make the request.
guildId: BigString
  • The ID of the guild in which to edit the emoji.
id: BigString
  • The ID of the emoji to edit.
options: ModifyGuildEmoji
  • The parameters for the edit of the emoji.

Returns

Promise<Emoji>

An instance of the updated Emoji.