s
Size: a a a
s
Е
s
Е
Е
s
️️
Е
s
️️
SJ
OR
D
D
s
D
s
D
MH
@events.register(events.NewMessage)
async def handler(update):
# print(update)
if isinstance(update.message.to_id, PeerChannel):
if update.message.to_id.channel_id in CHANNEL_LIST:
data = db_am.get_all_models()
for string in data:
if update.message.message.find(string[0].upper()) >= 0 or update.message.message.upper().find(string[0].upper()) >= 0:
print('yes')
try:
cid = update.message.to_id.channel_id
await client.forward_messages(CHAT,
update.message,
cid)
time.sleep(0.5)
await client.send_message(CHAT, str(LLL[cid]))
print('yes2')
except Exception as e:
print(e)
break
s