как да се провери, дали дума съобщение 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")