Selaa lähdekoodia

fixed issue with ani avatars in the avatar ccommand.

tags/v2.1.0
Roxie Gibson 5 vuotta sitten
vanhempi
commit
3ca5171f46
2 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. +2
    -1
      CHANGELOG.md
  2. +1
    -1
      roxbot/cogs/util.py

+ 2
- 1
CHANGELOG.md Näytä tiedosto

@@ -9,7 +9,8 @@
- Fixed NSFW commands not handling errors properly
- Twitch cog has been made obsolete and removed from the repo
- Permission checking was really broken. Phew no one noticed :sweat:
- Fixed dumb issue with trivia not picking loading custom emojis.
- Fixed dumb issue with trivia not picking loading custom emojis
- Fixed bug where `;avatar` didn't return animated pfp correctly

## v2.0.3


+ 1
- 1
roxbot/cogs/util.py Näytä tiedosto

@@ -54,7 +54,7 @@ class Util:
user = ctx.author

url = user.avatar_url_as(static_format="png")
if url.split(".")[-1] == "gif":
if ".gif in url":
avaimg = '{0.name}.gif'.format(user)
else:
avaimg = '{0.name}.png'.format(user)

Loading…
Peruuta
Tallenna