mirror of
https://github.com/uhIgnacio/EmoteManager.git
synced 2024-08-15 02:23:13 +00:00
add webp to valid image mimetypes
This commit is contained in:
parent
8739902754
commit
0173884617
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class UserCancelledError(commands.UserInputError):
|
|||
pass
|
||||
|
||||
class Emotes(commands.Cog):
|
||||
IMAGE_MIMETYPES = {'image/png', 'image/jpeg', 'image/gif'}
|
||||
IMAGE_MIMETYPES = {'image/png', 'image/jpeg', 'image/gif', 'image/webp'}
|
||||
# TAR_MIMETYPES = {'application/x-tar', 'application/x-xz', 'application/gzip', 'application/x-bzip2'}
|
||||
TAR_MIMETYPES = {'application/x-tar'}
|
||||
ZIP_MIMETYPES = {'application/zip', 'application/octet-stream', 'application/x-zip-compressed', 'multipart/x-zip'}
|
||||
|
|
Loading…
Reference in a new issue