Skip to main content
Module

x/discordeno/mod.ts>createEmoji

Discord API library for Deno
Latest
function createEmoji
import { createEmoji } from "https://deno.land/x/discordeno@18.0.1/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.