From dac4d575b1eb2f70ef6ed9d2dc8dc369660083f8 Mon Sep 17 00:00:00 2001 From: blank X Date: Tue, 29 Sep 2020 00:02:50 +0700 Subject: [PATCH] congrats tg --- acpbot.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/acpbot.py b/acpbot.py index 18baf1b..743556b 100644 --- a/acpbot.py +++ b/acpbot.py @@ -113,7 +113,10 @@ async def main(): @error_dec @client.on(events.NewMessage) async def handle_new_channel_message(e): - if not (e.from_id == 1087968824 and e.fwd_from or not e.from_id): + if not ( + (e.from_id in (1087968824, 136817688) and e.fwd_from) or + not e.from_id + ): return chat_data = get_chat_data(e.chat_id) if not chat_data['enabled']: