如何发送嬉皮士的直接回复

2024-06-26 02:18:48 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在为HippyBot编写一个自定义插件。我知道@directcmd注释函数的返回值将在响应中以@user开头。你知道吗

我还发现我可以使用

@directcmd
def plugin(self, mess, args):
    self.bot.send_simple_reply(mess, "This is a plain message.")
    return "This will be a directed message."

有没有办法发送其他定向消息?加分:有完整的API文档吗?你知道吗


Tags: 函数self插件sendmessagedefbotargs