mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Make model pull more verbose
This commit is contained in:
parent
725bff324c
commit
0fbf5e96f4
1 changed files with 3 additions and 1 deletions
|
@ -1911,7 +1911,9 @@ class OtherCog(commands.Cog):
|
|||
if percent == 100 and completed != total:
|
||||
percent = round(completed / total * 100, 2)
|
||||
if not percent % 10 or percent >= 90.5:
|
||||
await msg.edit(content=f"`{chunk['status']}` - {percent}%")
|
||||
await msg.edit(
|
||||
content=f"`{chunk['status']}` - {percent}% ({completed:,}/{total:,})"
|
||||
)
|
||||
else:
|
||||
await msg.edit(content=f"`{chunk['status']}`")
|
||||
await msg.edit(content=f"Downloaded model {model}.")
|
||||
|
|
Loading…
Reference in a new issue