Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

on message discord py

@bot.event
async def on_message(message):
    if message.content == "pong":
        await message.channel.send('ping')
 
PREVIOUS NEXT
Tagged: #message #discord #py
ADD COMMENT
Topic
Name
5+7 =