Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/discordeno_patched/plugins/cache/deps.ts>CreateGuildEmoji

Discord API library for Node and Deno
Go to Latest
interface CreateGuildEmoji
implements WithReason
import { type CreateGuildEmoji } from "https://deno.land/x/discordeno_patched@18.0.2/plugins/cache/deps.ts";

Properties

name: string

Name of the emoji

image: string

The 128x128 emoji image. 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.

optional
roles: BigString[]

Roles allowed to use this emoji