Small fix
This commit is contained in:
@@ -643,7 +643,7 @@ async def msg_incoming(session, event) -> None:
|
|||||||
if time.time() < cfg['unlock_timestamp']:
|
if time.time() < cfg['unlock_timestamp']:
|
||||||
return
|
return
|
||||||
await msg.delete()
|
await msg.delete()
|
||||||
cfg['chats'][data['target_chat_id']]['deleted_count'] += 1
|
cfg['chats'][chat_id]['deleted_count'] += 1
|
||||||
except BadRequestError:
|
except BadRequestError:
|
||||||
pass
|
pass
|
||||||
except ForbiddenError as e:
|
except ForbiddenError as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user