-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
Description
If you upload a WebP file as an animated emoji, attempting to download from CDN with the .gif extension raises 415 Unsupported Media Type, despite apparently being supported as per docs https://discord.com/developers/docs/reference#image-data - this does not occur the other way round, nor with other extensions.
Steps to Reproduce
- Upload a WebP to a guild as an emoji - this is the example file I'm using.
- Attempt to access it through
https://cdn.discordapp.com/emojis/<emoji_id>.webp- as expected, this works fine/ - Attempt to access it through
https://cdn.discordapp.com/emojis/<emoji_id>.gif
Expected Behavior
It should return the emoji in .gif format, as per the CDN Endpoints section.
Current Behavior
It raises Error 415 / Unsupported Media Type - If this is intentional, this should be documented. It's somewhat of a pain because our library assumes all animated emojis can use the .gif extension, and there's no attribute denoting otherwise.
Screenshots/Videos
No response
Client and System Information
stable 400637 (5e95670)
Discord e447dec (Web)
Chromium 136