1
0
Fork 0
mirror of synced 2024-06-26 18:21:15 +12:00

Used the jpeg conversion method, since some browsers do not have webp compatibility

This commit is contained in:
Phxntxm 2017-02-12 20:33:57 -06:00
parent a124eaf89a
commit edf9d9a587

View file

@ -142,6 +142,7 @@ class Interaction:
filename = 'avatar.gif'
else:
filename = 'avatar.webp'
file = utils.convert_to_jpeg(file)
await self.bot.upload(file, filename=filename)
else:
await self.bot.say(url)