From 684aec9a7605f889b0848365e68a01bcbb41a653 Mon Sep 17 00:00:00 2001 From: b miao Date: Sat, 6 Mar 2021 21:37:37 +0800 Subject: [PATCH] =?UTF-8?q?killallmembers=20v1.03=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E4=BA=86=E6=9B=B4=E6=96=B0=E5=B8=A6=E6=9D=A5=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- killallmembers.py | 3 ++- list.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/killallmembers.py b/killallmembers.py index a1f90c0..2dbea06 100644 --- a/killallmembers.py +++ b/killallmembers.py @@ -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) diff --git a/list.json b/list.json index 50d37ef..407c4d2 100644 --- a/list.json +++ b/list.json @@ -292,7 +292,7 @@ }, { "name": "killallmembers", - "version": "1.02", + "version": "1.03", "section": "chat", "maintainer": "Pentacene", "size": "idk",