mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-22 12:55:38 +00:00
killallmembers v1.03 更新了更新带来的bug
This commit is contained in:
parent
4170c60b81
commit
684aec9a76
@ -37,7 +37,8 @@ async def killallmembers(context):
|
|||||||
if i == len(users_wo_admins):
|
if i == len(users_wo_admins):
|
||||||
await context.edit(f'完成!\n进度:{i}/{len(users_wo_admins)}')
|
await context.edit(f'完成!\n进度:{i}/{len(users_wo_admins)}')
|
||||||
elif (i < 10) or (i % 10 == 0):
|
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:
|
except:
|
||||||
await context.edit('发生错误')
|
await context.edit('发生错误')
|
||||||
await sleep(10)
|
await sleep(10)
|
||||||
|
Loading…
Reference in New Issue
Block a user