From 86d798fa793a8577f1e7cd5f8673b88051d93d88 Mon Sep 17 00:00:00 2001 From: blank X Date: Mon, 28 Sep 2020 23:53:33 +0700 Subject: [PATCH] telegram deciding 100 --- acpbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acpbot.py b/acpbot.py index fc5caec..18baf1b 100644 --- a/acpbot.py +++ b/acpbot.py @@ -113,7 +113,7 @@ async def main(): @error_dec @client.on(events.NewMessage) async def handle_new_channel_message(e): - if e.from_id != 1087968824 or not e.fwd_from: + if not (e.from_id == 1087968824 and e.fwd_from or not e.from_id): return chat_data = get_chat_data(e.chat_id) if not chat_data['enabled']: