因此,我想制作一个具有一些调节功能的discord机器人,我想让我的机器人执行MEE6的!warn
命令,但它永远不会工作。它总是只写命令,但我永远无法执行它
我的剧本:
if ("something") in content:
await message.channel.send(f"{message.author.mention}**you cant do that!**")
x = 1
await message.channel.send(f"!warn {message.author.mention} you cant do that").format(message)
这行不通。Mee6以及所有编写良好的机器人都会对其他机器人做出响应。要做到这一点,唯一的方法是使用一个自我机器人,这是对discord的ToS
相关问题 更多 >
编程相关推荐