在Discord.py中,我如何让我的机器人私下向服务器中的其他人发送消息。比如,如果我想在服务器上给一个我还没有加好友请求的人发消息,我可以使用这个机器人。我希望它使用像"/{ user }{ message }“这样的斜杠命令,机器人将为它们显示消息,并使发送它的用户只能看到它。如何使用discord.py完成此操作?
我有反应补充说,工作非常好。然而,当我试图做反应消除,什么都没有发生。没有错误信息什么的。async def on_reaction_remove(reaction, user): channel = message.guild.get_channel(bot_logs)
embed=discord.Embed(title="**{} removed a reaction to a message**".format(message.author.name), descr