[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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user