docs: cover qqbot /bot-me + c2cOnly admin gating (62fb87641e) and cro… · openclaw/openclaw@62be4eb
vincentkoc
·
2026-04-30
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -239,12 +239,15 @@ Built-in commands intercepted before the AI queue:
|
239 | 239 | | `/bot-ping` | Latency test | |
240 | 240 | | `/bot-version` | Show the OpenClaw framework version | |
241 | 241 | | `/bot-help` | List all commands | |
| 242 | +| `/bot-me` | Show the sender's QQ user ID (openid) for `allowFrom`/`groupAllowFrom` setup | |
242 | 243 | | `/bot-upgrade` | Show the QQBot upgrade guide link | |
243 | 244 | | `/bot-logs` | Export recent gateway logs as a file | |
244 | 245 | | `/bot-approve` | Approve a pending QQ Bot action (for example, confirming a C2C or group upload) through the native flow. | |
245 | 246 | |
246 | 247 | Append `?` to any command for usage help (for example `/bot-upgrade ?`). |
247 | 248 | |
| 249 | +Admin commands (`/bot-me`, `/bot-upgrade`, `/bot-logs`, `/bot-clear-storage`, `/bot-streaming`, `/bot-approve`) are direct-message-only and require the sender's openid in an explicit non-wildcard `allowFrom` list. A wildcard `allowFrom: ["*"]` permits chat but does not grant admin command access. Group messages match against `groupAllowFrom` first and fall back to `allowFrom`. Running an admin command in a group returns a hint rather than silently dropping. |
| 250 | + |
248 | 251 | ## Engine architecture |
249 | 252 | |
250 | 253 | QQ Bot ships as a self-contained engine inside the plugin: |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。