From 490af1ddaf136c59bb22fd3768b3d98ac1eb58a0 Mon Sep 17 00:00:00 2001 From: dudeamax99 Date: Wed, 21 Oct 2020 15:07:15 -0400 Subject: [PATCH] [ChatChart] Show total messages in message load screen. (#175) * [ChatChart] Show total messages in message load screen. Now shows "####/5000 messages gathered rather than "#### messages gathered" on load screen. * Now dynamically displays total rather than just 5000. --- chatchart/chatchart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatchart/chatchart.py b/chatchart/chatchart.py index 9cde8c4..d484c23 100644 --- a/chatchart/chatchart.py +++ b/chatchart/chatchart.py @@ -125,7 +125,7 @@ class Chatchart(commands.Cog): await asyncio.sleep(0.005) if history_counter % 250 == 0: new_embed = discord.Embed( - description=f"This might take a while...\n{history_counter} messages gathered", + description=f"This might take a while...\n{history_counter}/{messages} messages gathered", colour=await self.bot.get_embed_colour(location=channel), ) await em.edit(embed=new_embed)