Skip to content

Commit

Permalink
Add Anilist score in user scores
Browse files Browse the repository at this point in the history
  • Loading branch information
3174N committed Dec 6, 2021
1 parent dd9b298 commit 9ed5284
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
COLOR_DEFAULT = discord.Color.teal()
COLOR_ERROR = discord.Color.red()

BOT_VERSION = "1.4.0"
BOT_VERSION = "1.4.2"


users_glob = {}
Expand Down Expand Up @@ -1139,7 +1139,10 @@ async def scores(ctx, media_type=None, *name):
embed.add_field(
name="SERVER SCORE",
value=str(int(user_scores[status])),
inline=False,
)
embed.add_field(
name="ANILIST SCORE",
value=media["meanScore"],
)
else:
embed.add_field(
Expand Down

0 comments on commit 9ed5284

Please sign in to comment.