From e8547f9f4bb2278f3abbef53868c9d8ff1a9d444 Mon Sep 17 00:00:00 2001 From: Conatum Date: Wed, 15 Dec 2021 14:36:09 +0200 Subject: [PATCH] fix (stats): Fix misnamed variable. --- bot/modules/study/stats_cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/modules/study/stats_cmd.py b/bot/modules/study/stats_cmd.py index ef3684e2..8e4bde59 100644 --- a/bot/modules/study/stats_cmd.py +++ b/bot/modules/study/stats_cmd.py @@ -202,7 +202,7 @@ async def cmd_stats(ctx): elif time_rank == 3: rank_str = "3rd" else: - time_rank = "{}th".format(time_rank) + rank_str = "{}th".format(time_rank) embed.description = "{} has studied for **{}**{}{}".format( target.mention,