1 ) 去 openclaw 安装目录找到 openclaw-weixin 目录,然后读取 accounts.json 中的 id 内容:
cat accounts.json
[
"xx-im-bot"
]
2 ) 修改 openclaw 配置文件,在 binding 中新增:
这里的 agentId 是你需要绑定到的对应 agent
{
"agentId": "weixin",
"match": {
"channel": "openclaw-weixin",
"accountId": "xx-im-bot"
}
}
3 ) (这一步不知道要不要)在 channels 中新增:
"openclaw-weixin": {
"enable": true,
"accounts": {
"xx-im-bot": {
}
}
}
4 ) 然后重启即可

