Used the jpeg conversion method, since some browsers do not have webp compatibility
This commit is contained in:
parent
a124eaf89a
commit
edf9d9a587
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue