Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Detect #Word #Then #Send #Message
ADD COMMENT
Topic
Name
5+9 =