brace for new telethon update
This commit is contained in:
parent
dac4d575b1
commit
a3731c3ae3
|
@ -114,8 +114,9 @@ async def main():
|
|||
@client.on(events.NewMessage)
|
||||
async def handle_new_channel_message(e):
|
||||
if not (
|
||||
(e.from_id in (1087968824, 136817688) and e.fwd_from) or
|
||||
not e.from_id
|
||||
(e.sender_id in (1087968824, 136817688) and e.fwd_from) or
|
||||
not e.sender_id or
|
||||
e.sender_id < 0
|
||||
):
|
||||
return
|
||||
chat_data = get_chat_data(e.chat_id)
|
||||
|
|
Loading…
Reference in New Issue