From 511022fcd01d8f2ea5ce3b1eb940774a5a55475c Mon Sep 17 00:00:00 2001 From: Fleny Date: Fri, 15 Aug 2025 21:11:09 +0200 Subject: [PATCH] fix(types): Fix discordeno/emoji.ts (#4356) Co-authored-by: Link --- packages/types/src/discordeno/emoji.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/types/src/discordeno/emoji.ts b/packages/types/src/discordeno/emoji.ts index 614092f3f..a2ec0c355 100644 --- a/packages/types/src/discordeno/emoji.ts +++ b/packages/types/src/discordeno/emoji.ts @@ -6,7 +6,7 @@ import type { BigString } from '../shared.js' export interface CreateGuildEmoji { /** Name of the emoji */ name: 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. */ + /** The 128x128 emoji image. */ image: string /** Roles allowed to use this emoji */ roles: BigString[] @@ -24,12 +24,12 @@ export interface ModifyGuildEmoji { export interface CreateApplicationEmoji { /** Name of the emoji */ name: 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. */ + /** The 128x128 emoji image. */ image: string } /** https://discord.com/developers/docs/resources/emoji#modify-application-emoji */ export interface ModifyApplicationEmoji { /** Name of the emoji */ - name?: string + name: string }