if 'team' in texto: if 'trend' in texto: x=str(event.originalupdate)…
- User
if 'team' in texto: if 'trend' in texto: x=str(event.original_update) UpdateNewMessage=x.find('UpdateNewMessage') UpdateShortMessage=x.find('UpdateShortMessage') UpdateNewChannelMessage=x.find('UpdateNewChannelMessage')
if(UpdateNewChannelMessage>=0): UpdateNewChannelMessage=-1 a=event.original_update.message.peer_id.channel_id if ((int(a)==1062231509) or (int(a)==1282362855)or (int(a)==1496721483)or (int(a)==1458320986)): await event.reply('!sban') time.sleep(3)para aquel código, quiero que en vez de utilizar "team" se pueda comparar con Locked Liquidity Solid, si coincide con cualquiera de las 3 palabras, entonces avanzar a la siguiente condición
- Assistant
if 'Locked Liquidity Solid' in texto: if 'trend' in texto: x=str(event.original_update) UpdateNewMessage=x.find('UpdateNewMessage') UpdateShortMessage=x.find('UpdateShortMessage') UpdateNewChannelMessage=x.find('UpdateNewChannelMessage')
if(UpdateNewChannelMessage>=0): UpdateNewChannelMessage=-1 a=event.original_update.message.peer_id.channel_id if ((int(a)==1062231509) or (int(a)==1282362855)or (int(a)==1496721483)or (int(a)==1458320986)): await event.reply('!sban') time.sleep(3)