diff --git a/killallmembers.py b/killallmembers.py index 1b624b0..f4c2c97 100644 --- a/killallmembers.py +++ b/killallmembers.py @@ -35,7 +35,8 @@ async def killallmembers(context): try: await bot.edit_permissions(context.chat_id, user_id, view_messages=False) i += 1 - await context.edit(f'进度:{i}/{len(users_wo_admins)}') + if i % 10 == 0: + await context.edit(f'进度:{i}/{len(users_wo_admins)}') except: await context.edit('发生错误') await sleep(10) diff --git a/list.json b/list.json index a739f71..50d37ef 100644 --- a/list.json +++ b/list.json @@ -292,7 +292,7 @@ }, { "name": "killallmembers", - "version": "1.01", + "version": "1.02", "section": "chat", "maintainer": "Pentacene", "size": "idk",