From e0e8ed8b0eacca6cc0c6aef271c99a693e8c988d Mon Sep 17 00:00:00 2001 From: nex Date: Sat, 11 Nov 2023 20:19:49 +0000 Subject: [PATCH] Decrease verbosity --- cogs/other.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/other.py b/cogs/other.py index 50ae276..427f24f 100644 --- a/cogs/other.py +++ b/cogs/other.py @@ -1912,7 +1912,7 @@ class OtherCog(commands.Cog): percent = round(completed / total * 100, 2) total_gigabytes = total / 1024 / 1024 / 1024 completed_gigabytes = completed / 1024 / 1024 / 1024 - if not percent % 10 or percent >= 90.5: + if (completed / total * 100) % 10 == 0 or percent >= 90.5: await msg.edit( content=f"`{chunk['status']}` - {percent}% " f"({completed_gigabytes:,.2f}GB/{total_gigabytes:,.2f}GB)"