对接云崽
云崽 是基于 Node.js 的机器人框架,插件生态丰富。
如果你使用 LLBot Desktop 版,可以在「对接框架」页面一键安装云崽,无需手动操作。
前置依赖
下载云崽
git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai.git
cd Yunzai或下载 ZIP:https://github.com/TimeRainStarSky/Yunzai/archive/refs/heads/main.zip
安装 pnpm 和依赖
npm install -g pnpm --registry=https://registry.npmmirror.com
pnpm install --registry=https://registry.npmmirror.com安装插件(可选)
# TRSS-Plugin
git clone --depth 1 https://github.com/TimeRainStarSky/TRSS-Plugin.git plugins/TRSS-Plugin
cd plugins/TRSS-Plugin && npm install --registry=https://registry.npmmirror.com && cd ../..
# neko-status-plugin
git clone --depth 1 https://github.com/erzaozi/neko-status-plugin.git plugins/neko-status-plugin
# miao-plugin
git clone --depth 1 -b master https://github.com/yoimiya-kokomi/miao-plugin.git plugins/miao-plugin配置 LLBot
在 LLBot 中启用 OneBot11,添加反向 WS 连接:
{
"type": "ws-reverse",
"enable": true,
"url": "ws://127.0.0.1:2536/OneBotv11",
"heartInterval": 60000,
"token": "",
"messageFormat": "array",
"reportSelfMessage": false
}