Decrease verbosity

This commit is contained in:
Nexus 2023-11-11 20:19:49 +00:00
parent 97688faead
commit e0e8ed8b0e
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -1912,7 +1912,7 @@ class OtherCog(commands.Cog):
percent = round(completed / total * 100, 2) percent = round(completed / total * 100, 2)
total_gigabytes = total / 1024 / 1024 / 1024 total_gigabytes = total / 1024 / 1024 / 1024
completed_gigabytes = completed / 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( await msg.edit(
content=f"`{chunk['status']}` - {percent}% " content=f"`{chunk['status']}` - {percent}% "
f"({completed_gigabytes:,.2f}GB/{total_gigabytes:,.2f}GB)" f"({completed_gigabytes:,.2f}GB/{total_gigabytes:,.2f}GB)"