From 5b788404777f58365ae2c578b80d4d2db219d403 Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Sat, 23 Jan 2021 22:17:42 +0100 Subject: [PATCH] Add delimiter to message count (fixes #25) --- cogs/xp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/xp.py b/cogs/xp.py index d805d65..9d63eae 100644 --- a/cogs/xp.py +++ b/cogs/xp.py @@ -28,7 +28,7 @@ class Xp(commands.Cog): embed = discord.Embed(colour=discord.Colour.blue()) embed.set_author(name=target.display_name, icon_url=target.avatar_url) - embed.add_field(name="Aantal Berichten", value="{} ({}%)".format(int(target_stats[11]), perc)) + embed.add_field(name="Aantal Berichten", value="{:,} ({}%)".format(int(target_stats[11]), perc)) embed.add_field(name="Level", value=str(xp.calculate_level(target_stats[12]))) embed.add_field(name="XP", value="{:,}".format(int(target_stats[12]))) embed.set_footer(text="*Sinds Didier 2.0 Launch")