when using on_message commands don't work discord python code example
Example: on message discord py
@bot.event
async def on_message(message):
if message.content == "pong":
await message.channel.send('ping')
@bot.event
async def on_message(message):
if message.content == "pong":
await message.channel.send('ping')