Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
illvart committed Feb 13, 2024
1 parent 99897e9 commit 403331b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions getter/plugins/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ async def _(kst):
try:
await ga.delete_dialog(x.id, revoke=True)
count += 1
await sleep(0.3)
except BaseException:
pass
if not count:
Expand All @@ -213,8 +212,8 @@ async def _(kst):
try:
await ga.delete_dialog(x.id, revoke=True)
count += 1
except Exception as err:
ga.log.exception(err)
except BaseException:
pass
if not count:
return await yy.eor("`no users found`", time=3)
await yy.eod(f"`deleted {count} user chats`", time=None)
Expand Down

0 comments on commit 403331b

Please sign in to comment.