feat: add support for gif stickers

This commit is contained in:
Elysia 2023-02-22 19:12:46 +07:00
parent 5413eeba70
commit 683bb28bb2
2 changed files with 3 additions and 1 deletions

View File

@ -1435,10 +1435,11 @@ exports.StickerTypes = createEnum([null, 'STANDARD', 'GUILD']);
* * PNG * * PNG
* * APNG * * APNG
* * LOTTIE * * LOTTIE
* * GIF
* @typedef {string} StickerFormatType * @typedef {string} StickerFormatType
* @see {@link https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-format-types} * @see {@link https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-format-types}
*/ */
exports.StickerFormatTypes = createEnum([null, 'PNG', 'APNG', 'LOTTIE']); exports.StickerFormatTypes = createEnum([null, 'PNG', 'APNG', 'LOTTIE', 'GIF']);
/** /**
* An overwrite type: * An overwrite type:

1
typings/enums.d.ts vendored
View File

@ -303,6 +303,7 @@ export const enum StickerFormatTypes {
PNG = 1, PNG = 1,
APNG = 2, APNG = 2,
LOTTIE = 3, LOTTIE = 3,
GIF = 4,
} }
export const enum StickerTypes { export const enum StickerTypes {