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

x/discordeno/helpers/mod.ts>editEmoji

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