@dp.message_handler()
async def delete(message: Message):
if message.text.lower()=="kod":
await message.delete()
@dp.message_handler()
async def echo1(message: Message):
for n in lw:
if message.text[0]=="/":
await message.answer(text="Введите ваше имя")
return
if n in message.text.lower():
await message.answer(text="Окей")
return
if "р" in message.text.lower():
await message.answer(text="Допустим")
return
if __name__=="__main__":
executor.start_polling(dp, on_startup=send_to_admin, skip_updates=True)