Skip to content

Commit

Permalink
feat: add GIF as a supported sticker format (abalabahaha#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
TTtie authored Jan 10, 2023
1 parent 651078b commit a61d849
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2243,6 +2243,7 @@ declare namespace Dysnomia {
PNG: 1;
APNG: 2;
LOTTIE: 3;
GIF: 4;
};
StickerTypes: {
STANDARD: 1;
Expand Down
7 changes: 4 additions & 3 deletions lib/Constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit a61d849

Please sign in to comment.