Skip to main content
Module

x/natico/mod.ts>createEmoji

A powerful and customizable framework for Discordeno
Latest
function createEmoji
import { createEmoji } from "https://deno.land/x/natico@4.0.0-pre.4/mod.ts";

Create an emoji in the server. Emojis and animated emojis have a maximum file size of 256kb. Attempting to upload an emoji larger than this limit will fail and return 400 Bad Request and an error message, but not a JSON status code. If a URL is provided to the image parameter, Discordeno will automatically convert it to a base64 string internally.

Parameters

bot: Bot
guildId: bigint