Files
chatgpt-on-wechat/plugins/godcmd
Lengshuang cf8f9d1edf fix: cancel queued work under the agent-scoped session key
ChatChannel.produce() files a session's queue under the routed Agent's key
("agent::session"), but cancel_session() and cancel_message() looked the bare
session id up, so for any Agent other than the default one they found no queue
and left the queued messages running: #reset on a bound channel instance, or
recalling a queued Feishu message, reset nothing.

Both now resolve the key the same way produce() does, through the AgentBridge's
own scoped_session_key, and the two callers pass the Agent that accepted the
turn.
2026-09-29 20:27:42 +08:00
..
2023-04-17 01:01:02 +08:00
2023-04-17 01:01:02 +08:00
2023-04-07 00:43:47 +08:00

插件说明

指令插件

插件使用

将config.json.template复制为config.json,并修改其中password的值为口令。

如果没有设置命令,在命令行日志中会打印出本次的临时口令,请注意观察,打印格式如下。

[INFO][2023-04-06 23:53:47][godcmd.py:165] - [Godcmd] 因未设置口令,本次的临时口令为0971。

在私聊中可使用#auth指令,输入口令进行管理员认证。更多详细指令请输入#help查看帮助文档:

#auth <口令> - 管理员认证,仅可在私聊时认证。 #help - 输出帮助文档,是否是管理员和是否是在群聊中会影响帮助文档的输出内容。