detect word then send message 28discord py 29

Solutions on MaxInterview for detect word then send message 28discord py 29 by the best coders in the world

showing results for - "detect word then send message 28discord py 29"
Rébecca
19 Aug 2020
1@client.event
2async def on_message(message):
3
4if "wow" in message.content:
5    await message.channel.send("oh wow")
6
Greta
22 Feb 2016
1#New Event, prints oh wow if someone says wow
2@client.event
3async def on_message(message):
4
5    if "wow" in message.content:
6        await channel.send("oh wow")
7
8#End of Event
9