xtao-some fix error report

This commit is contained in:
xtaodada 2021-06-16 23:29:37 +08:00
parent 949e0b8a1d
commit 5e3b514b77
No known key found for this signature in database
GPG Key ID: EE4DC37B55E24736
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@
}, },
{ {
"name": "xtao-some", "name": "xtao-some",
"version": "1.18", "version": "1.19",
"section": "daily", "section": "daily",
"maintainer": "xtaodada", "maintainer": "xtaodada",
"size": "18.8 kb", "size": "18.8 kb",

View File

@ -295,7 +295,7 @@ async def getdel(context):
try: try:
await context.client.kick_participant(context.chat_id, member.id) await context.client.kick_participant(context.chat_id, member.id)
except FloodWaitError: except FloodWaitError:
await context.edit(context.chat_id, '处理失败,您已受到 TG 服务器限制。') await context.edit('处理失败,您已受到 TG 服务器限制。')
return return
if need_kick: if need_kick:
await context.edit(f'此频道/群组的死号数:`{member_count}`,并且已经清理完毕。') await context.edit(f'此频道/群组的死号数:`{member_count}`,并且已经清理完毕。')