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

- Fixed NSFW commands not handling errors properly - Fixed NSFW commands not handling errors properly
- Twitch cog has been made obsolete and removed from the repo - Twitch cog has been made obsolete and removed from the repo
- Permission checking was really broken. Phew no one noticed :sweat: - 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 ## v2.0.3



+ 1
- 1
roxbot/cogs/util.py View File

user = ctx.author user = ctx.author


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

Loading…
Cancel
Save