You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using the neko.py API to retrieve GIFs, some of the returned links have their file extensions in uppercase (.GIF). Discord, however, treats these links as static images instead of animated GIFs.
Expected behavior
All GIF links should have their file extensions in lowercase (.gif) to ensure consistent handling across all platforms, including Discord.
Steps to Reproduce
Use the neko.py API to request GIFs.
Receive a link with the GIF extension in uppercase (.GIF).
Post this link in a Discord chat.
Notice that Discord displays the image as a static image, not an animated GIF.
Possible Solution
Ensure all GIF links returned by the neko.py API have their file extensions in lowercase (.gif). This could involve modifying the process which provides these links to change the case of the file extension to lowercase before returning it.
Additional context
The behavior is inconsistent. Not all GIF links have their extensions in uppercase, but for the ones that do, they are not properly rendered as animated GIFs in Discord.
The text was updated successfully, but these errors were encountered:
Describe the bug
When using the neko.py API to retrieve GIFs, some of the returned links have their file extensions in uppercase (.GIF). Discord, however, treats these links as static images instead of animated GIFs.
Expected behavior
All GIF links should have their file extensions in lowercase (.gif) to ensure consistent handling across all platforms, including Discord.
Steps to Reproduce
Possible Solution
Ensure all GIF links returned by the neko.py API have their file extensions in lowercase (.gif). This could involve modifying the process which provides these links to change the case of the file extension to lowercase before returning it.
Additional context
The behavior is inconsistent. Not all GIF links have their extensions in uppercase, but for the ones that do, they are not properly rendered as animated GIFs in Discord.
The text was updated successfully, but these errors were encountered: