From c47b3b0ad9177c12d59f38dbcbace28aedbb0ae4 Mon Sep 17 00:00:00 2001 From: Dennis Klein <mail@dnns01.de> Date: Sun, 28 Mar 2021 20:37:41 +0200 Subject: [PATCH] Add thousands places for points --- leaderboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leaderboard.py b/leaderboard.py index d950c4c..6e4ac91 100644 --- a/leaderboard.py +++ b/leaderboard.py @@ -60,7 +60,7 @@ class Leaderboard(commands.Cog): # message += "{:>4} | {:<37} | {:>9}\n".format(str(place), # f"{member.display_name}#{member.discriminator}", value) places += f"{place}: <@!{key}>\n" - scores += f"{value}\n" + scores += f"{value:,}\n".replace(",", ".") if str(ctx.author.id) == key: ready = True -- GitLab