Answers for "Detect Word Then Send Message (discord.py)"

0

Detect Word Then Send Message (discord.py)

@client.event
async def on_message(message):

if "wow" in message.content:
    await message.channel.send("oh wow")
Posted by: Guest on June-03-2021
0

Detect Word Then Send Message (discord.py)

#New Event, prints oh wow if someone says wow
@client.event
async def on_message(message):

    if "wow" in message.content:
        await channel.send("oh wow")

#End of Event
Posted by: Guest on June-03-2021

Code answers related to "Detect Word Then Send Message (discord.py)"

Python Answers by Framework

Browse Popular Code Answers by Language