我试过使用wait_for(),不确定这是不是正确的方法,或者我是否正确地使用它。client
async def on_message(self, message): print(f"The first letter is {message.content[0]}")
msg = await self.client.wait_for(&
因此,我想检查消息中是否存在我的列表中的单词,因此,我这样做: if any([x in message.content for x in List]): 但是现在我还想检查我的列表中是否有一个单词不存在它只是忽略黑名单 if any([x in message.content for x in List]) and not any([x in message.content for x in Blacklist