कैसे अगर जाँच करने के लिए एक संदेश में शामिल हैं एक शब्द discord.py
@bot.event
async def on_message(msg):
if 'word' in msg.content:
print('Keyword found')
# Do stuff here
का पता लगाने के शब्द तो संदेश भेजें (discord.py)
@client.event
async def on_message(message):
if "wow" in message.content:
await message.channel.send("oh wow")