Make model pull more verbose

This commit is contained in:
Nexus 2023-11-11 20:15:26 +00:00
parent 725bff324c
commit 0fbf5e96f4
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -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}.")