I can't figure out the on_message event Everything seems to be correct, there are no errors in the console, but the bot does not respond to messages
import discord
from discord.ext import commands
from discord.ext.commands import Bot
client = commands.Bot(command_prefix='!')
hello_words = ["Hello", "Hi", "qq", "w'zz"]
@client.event
async def on_ready():
print("Ready") # if the bot running
async def on_message(message):
msg = message.content.lower()
if msg in hello_words:
await message.channel.send("Hello")
client.run("token")