From a61d849124ed417e080e32a813a0d5853dd2cd30 Mon Sep 17 00:00:00 2001 From: TTtie Date: Tue, 10 Jan 2023 18:30:48 +0000 Subject: [PATCH] feat: add GIF as a supported sticker format (#24) ref: https://github.com/discord/discord-api-docs/commit/5214f12fe3d8abf14c926398d1fb406f918edae8 --- index.d.ts | 1 + lib/Constants.js | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/index.d.ts b/index.d.ts index d43adf4fb..0c8ae6610 100644 --- a/index.d.ts +++ b/index.d.ts @@ -2243,6 +2243,7 @@ declare namespace Dysnomia { PNG: 1; APNG: 2; LOTTIE: 3; + GIF: 4; }; StickerTypes: { STANDARD: 1; diff --git a/lib/Constants.js b/lib/Constants.js index 485b4292c..f284c7446 100644 --- a/lib/Constants.js +++ b/lib/Constants.js @@ -589,9 +589,10 @@ module.exports.StageInstancePrivacyLevel = { }; module.exports.StickerFormats = { - PNG: 1, - APNG: 2, - LOTTIE: 3 + PNG: 1, + APNG: 2, + LOTTIE: 3, + GIF: 4 }; module.exports.StickerTypes = {