bad_words = ["плохое слово","очень плохое слово"]
@dp.message_handler()
async def filter_messages(message: types.Message):
lower_message = message.text.lower()
for bad_word in bad_words:
if bad_word in lower_message:
await message.delete()
break