Remove avif format as discord does not serve it (#4723)

This commit is contained in:
Fleny
2026-02-16 03:11:35 +01:00
committed by GitHub
parent b5248bfa2c
commit 0e34445d68

View File

@@ -6,7 +6,7 @@
* @remarks
* json is only for stickers
*/
export type ImageFormat = 'jpg' | 'jpeg' | 'png' | 'webp' | 'gif' | 'avif' | 'json';
export type ImageFormat = 'jpg' | 'jpeg' | 'png' | 'webp' | 'gif' | 'json';
/** https://discord.com/developers/docs/reference#image-formatting */
export type ImageSize = 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096;