Update image formats listed as supported by set bot avatar (#6323)

Co-authored-by: Jakub Kuczys <me@jacken.men>
This commit is contained in:
Karlo Prikratki 2024-03-24 00:21:30 +01:00 committed by GitHub
parent a26b9d6d3a
commit c3b96b7a9e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2889,11 +2889,11 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
_( _(
"Failed. Remember that you can edit my avatar " "Failed. Remember that you can edit my avatar "
"up to two times a hour. The URL or attachment " "up to two times a hour. The URL or attachment "
"must be a valid image in either JPG or PNG format." "must be a valid image in either JPG, PNG, or GIF format."
) )
) )
except ValueError: except ValueError:
await ctx.send(_("JPG / PNG format only.")) await ctx.send(_("JPG / PNG / GIF format only."))
else: else:
await ctx.send(_("Done.")) await ctx.send(_("Done."))