From 5214f12fe3d8abf14c926398d1fb406f918edae8 Mon Sep 17 00:00:00 2001 From: Jeff Cailteux Date: Mon, 9 Jan 2023 10:36:41 -0800 Subject: [PATCH] gif sticker support --- docs/Reference.md | 2 +- docs/resources/Sticker.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/Reference.md b/docs/Reference.md index 74b5aea01f..3fbac4b165 100644 --- a/docs/Reference.md +++ b/docs/Reference.md @@ -338,7 +338,7 @@ Discord uses ids and hashes to render images in the client. These hashes can be \*\*\* In the case of the Default User Avatar and Sticker endpoints, the size of images returned is constant with the "size" querystring parameter being ignored. -\*\*\*\* In the case of the Sticker endpoint, the sticker will be available as PNG if its [`format_type`](#DOCS_RESOURCES_STICKER/sticker-object) is `PNG` or `APNG`, and as [Lottie](https://airbnb.io/lottie/#/) if its `format_type` is `LOTTIE`. +\*\*\*\* In the case of the Sticker endpoint, the sticker will be available as PNG if its [`format_type`](#DOCS_RESOURCES_STICKER/sticker-object) is `PNG` or `APNG`, and as [Lottie](https://airbnb.io/lottie/#/) if its `format_type` is `LOTTIE`. It could also be available as a `GIF`. ## Image Data diff --git a/docs/resources/Sticker.md b/docs/resources/Sticker.md index c7a619d872..84de11b828 100644 --- a/docs/resources/Sticker.md +++ b/docs/resources/Sticker.md @@ -38,6 +38,7 @@ Incidentally the client will always use a name generated from an emoji as the va | PNG | 1 | | APNG | 2 | | LOTTIE | 3 | +| GIF | 4 | ###### Example Sticker @@ -138,7 +139,7 @@ Every guilds has five free sticker slots by default, and each Boost level will g | name | string | name of the sticker (2-30 characters) | | description | string | description of the sticker (empty or 2-100 characters) | | tags | string | autocomplete/suggestion tags for the sticker (max 200 characters) | -| file | file contents | the sticker file to upload, must be a PNG, APNG, or Lottie JSON file, max 500 KB | +| file | file contents | the sticker file to upload, must be a PNG, APNG, GIF, or Lottie JSON file, max 500 KB | ## Modify Guild Sticker % PATCH /guilds/{guild.id#DOCS_RESOURCES_GUILD/guild-object}/stickers/{sticker.id#DOCS_RESOURCES_STICKER/sticker-object}