Browse Source

fixed issue with ani avatars in the avatar ccommand.

tags/v2.1.0
Roxie Gibson 5 years ago
parent
commit
3ca5171f46
2 changed files with 3 additions and 2 deletions
  1. +2
    -1
      CHANGELOG.md
  2. +1
    -1
      roxbot/cogs/util.py

+ 2
- 1
CHANGELOG.md View File

@@ -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 View File

@@ -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…
Cancel
Save