From 7b4ad6a3454964f3b2e44e6095236ca6231e615a Mon Sep 17 00:00:00 2001 From: iiLarsH Date: Fri, 5 May 2023 00:27:52 +0200 Subject: [PATCH] Neater leaderboard print --- cogs/leaderboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/leaderboard.py b/cogs/leaderboard.py index 0c4ecd6..90315c4 100644 --- a/cogs/leaderboard.py +++ b/cogs/leaderboard.py @@ -212,7 +212,7 @@ class Leaderboard(commands.Cog): stat = str("{:0.2f}".format(j)) if(easyfilter): stat = str(j) - botmessage = botmessage + str(str(counter)+ " - " + i + " : "+ stat + "\n") + botmessage = botmessage + str(f"{str(counter):<2}"+ " - " + f"{i :<15}" + " : "+ f"{stat:<8}" + "\n") counter= counter+1 return botmessage