Skip to content

Commit

Permalink
Fix subscriber display issue (#34)
Browse files Browse the repository at this point in the history
Fixes #34.
  • Loading branch information
parafoxia committed Oct 10, 2020
1 parent 49c0648 commit 4bc813c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion carberretta/bot/cogs/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ async def yt_stats_command(self, ctx: commands.Context) -> None:
"icon_url": f"{ctx.author.avatar_url}",
},
"fields": [
{"name": "Subscribers", "value": f"{sub_count:,} - {sub_count+100:,}", "inline": False},
{"name": "Subscribers", "value": f"About {sub_count:,}", "inline": False},
{"name": "Views", "value": f"{int(data['statistics']['viewCount']):,}", "inline": False},
{"name": "Videos", "value": f"{int(data['statistics']['videoCount']):,}", "inline": False},
],
Expand Down

0 comments on commit 4bc813c

Please sign in to comment.