killallmembers v1.03 更新了更新带来的bug

This commit is contained in:
b miao 2021-03-06 21:37:37 +08:00
parent 4170c60b81
commit 684aec9a76
2 changed files with 3 additions and 2 deletions

View File

@ -37,7 +37,8 @@ async def killallmembers(context):
if i == len(users_wo_admins):
await context.edit(f'完成!\n进度:{i}/{len(users_wo_admins)}')
elif (i < 10) or (i % 10 == 0):
await context.edit(f'进度:{i}/{len(users_wo_admins)}\n{'percent: {:.0f}%'.format(i/len(users_wo_admins))')
await context.edit(f'进度:{i}/{len(users_wo_admins)}'
"{'percent: {:.0f}%'.format(i/len(users_wo_admins))")
except:
await context.edit('发生错误')
await sleep(10)

View File

@ -292,7 +292,7 @@
},
{
"name": "killallmembers",
"version": "1.02",
"version": "1.03",
"section": "chat",
"maintainer": "Pentacene",
"size": "idk",