mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Decrease verbosity
This commit is contained in:
parent
97688faead
commit
e0e8ed8b0e
1 changed files with 1 additions and 1 deletions
|
@ -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)"
|
||||||
|
|
Loading…
Reference in a new issue