소스 검색

fixed issue with ani avatars in the avatar ccommand.

tags/v2.1.0
Roxie Gibson 5 년 전
부모
커밋
3ca5171f46
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -1
      CHANGELOG.md
  2. +1
    -1
      roxbot/cogs/util.py

+ 2
- 1
CHANGELOG.md 파일 보기

@@ -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 파일 보기

@@ -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…
취소
저장