im试图在py上创建不和谐的bot,而我对py还是新的
我试图让我的机器人在有人说出某个单词时回复
例如,如果sendace bot中有“ bot”和“ not”,并回答“您认为该bot无法正常工作?” 我写了这段代码
if message.content.find("bot" and "not") != -1:
await message.channel.send("do you think bots aren't working? contact @sdu or ask other player in #bot channal")
await message.channel.send("sorry for inconvenient")
但是,如果我只说“不”,机器人会回复
有人可以帮助我吗?