does on_message block discord py commands 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')