@bot.event
async def on_message(message):
await bot.process_commands(message)
msg = message.content.lower()
if msg in hello:
await message.channel.send("Привет")
for word in message.content.lower().split(" "):
if word in auto_moderation["bad_words"]:
await punish(...) # await message.guild.kick(user=message.author, reason="Bad words auto mod")