는 방법을 확인하는 메시지를 포함한 말씀 discord.py
@bot.event
async def on_message(msg):
if 'word' in msg.content:
print('Keyword found')
# Do stuff here
검색 단어가 다음 메시지를 보내(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