I need to merge these 3 on_message functions into 1 function in discord.py rewrite version 1.6.0, what can I do?
import discord
client = discord.Client()
@client.event
async def on_ready():
print('in on_ready')
@client.event
async def on_message(hi):
print("hello")
@client.event
async def on_message(Hey there):
print("General Kenobi")
@client.event
async def on_message(Hello):
print("Hi")
client.run("TOKEN")