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
{{ message }}
This repository was archived by the owner on Nov 19, 2025. It is now read-only.
While I uploading the GIF file, got this error, PNG, and JPG still fine, any else got something this, I read doc discord python, they wrote only PNG and JPG are supported. In this project, including GIF, need someone to confirm that
File "/app/.heroku/python/lib/python3.6/site-packages/discord/client.py", line 2526, in create_custom_emoji
img = utils._bytes_to_base64_data(image)
File "/app/.heroku/python/lib/python3.6/site-packages/discord/utils.py", line 247, in _bytes_to_base64_data
mime = _get_mime_type_for_image(data)
File "/app/.heroku/python/lib/python3.6/site-packages/discord/utils.py", line 243, in _get_mime_type_for_image
raise InvalidArgument('Unsupported image type given')
discord.errors.InvalidArgument: Unsupported image type given
While I uploading the GIF file, got this error, PNG, and JPG still fine, any else got something this, I read doc discord python, they wrote only PNG and JPG are supported. In this project, including GIF, need someone to confirm that