fucking telegram why did you have to update shit
This commit is contained in:
parent
19ee6764b1
commit
19191ce220
|
@ -113,7 +113,7 @@ async def main():
|
||||||
@error_dec
|
@error_dec
|
||||||
@client.on(events.NewMessage)
|
@client.on(events.NewMessage)
|
||||||
async def handle_new_channel_message(e):
|
async def handle_new_channel_message(e):
|
||||||
if e.from_id:
|
if e.from_id != 1087968824 or not getattr(e.fwd_from, 'channel_id', None):
|
||||||
return
|
return
|
||||||
chat_data = get_chat_data(e.chat_id)
|
chat_data = get_chat_data(e.chat_id)
|
||||||
if not chat_data['enabled']:
|
if not chat_data['enabled']:
|
||||||
|
|
Loading…
Reference in New Issue