on message process command discord py 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')