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

x/discordeno/helpers/emojis/mod.ts>createEmoji

Discord API library for Deno
Go to Latest
function createEmoji
import { createEmoji } from "https://deno.land/x/discordeno@17.0.1/helpers/emojis/mod.ts";

Creates an emoji in a guild.

Parameters

bot: Bot
  • The bot instance to use to make the request.
guildId: BigString
  • The ID of the guild in which to create the emoji.
options: CreateGuildEmoji
  • The parameters for the creation of the emoji.

Returns

Promise<Emoji>

An instance of the created Emoji.