Neater leaderboard print

This commit is contained in:
2023-05-05 00:27:52 +02:00
parent 7e3f12865e
commit 7b4ad6a345
+1 -1
View File
@@ -212,7 +212,7 @@ class Leaderboard(commands.Cog):
stat = str("{:0.2f}".format(j)) stat = str("{:0.2f}".format(j))
if(easyfilter): if(easyfilter):
stat = str(j) 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 counter= counter+1
return botmessage return botmessage