如何检查,如果一个信息包括一个字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")