message_post_format 必须为 array。cd openclaw/extensions
git clone https://github.com/constansino/openclaw_qq.git qq
cd ../..
pnpm install && pnpm build
若你是全局安装 OpenClaw(
npm install -g openclaw)且仅更新扩展目录,通常只需在~/.openclaw/extensions/qq执行npm install,然后openclaw gateway restart。
在 OpenClaw WebUI 中直接配置 channels.qq,通常比手写 JSON 更快更稳。

建议先填:
wsUrlaccessTokenrequireMentionadmins(可选)allowedGroups(可选)编辑 ~/.openclaw/openclaw.json:
{
"channels": {
"qq": {
"wsUrl": "ws://127.0.0.1:3001",
"accessToken": "your_token",
"requireMention": true
}
},
"plugins": {
"entries": {
"qq": { "enabled": true }
}
}
}
openclaw gateway restart
验证项: