我如何使用python阅读不和谐的嵌入式消息?邮件嵌入后,它不会选择关键字。
import discord
from discord.ext import commands
import os
client = discord.Client()
keywords = ['yeezy 500', 'yeezy 350', 'yeezy 700', 'jordan og', 'jordan 1 low', 'aj 1 low', 'jordan 1 mid', 'jordan 1 high', 'nike x cactus jack']
monitor_channels = [channelid, channelid]
async def on_ready():
print('Bot is ready')
@client.event
async def on_message(message):
channel = message.channel
for keyword in keywords:
if keyword.lower() in message.content.lower() and message.channel.id in monitor_channels:
await channel.send('<@&719156315045363719>')
break
client.run(os.environ['TOKEN'])```