diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 1f3cdc2f0..c6e3666be 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -43,7 +43,7 @@ export default defineConfig({ ], }, { - text: "部署消息平台", + text: "连接消息平台", collapsed: true, // link: "/deploy/platforms/qq/", items: [ @@ -88,13 +88,6 @@ export default defineConfig({ { text: "网络配置详解", link: "/deploy/network-details", - // collapsed: true, - // items: [ - // { text: "LangBot和消息平台均Docker", link: "/deploy/network/langbot-platform-docker" }, - // { text: "仅LangBot Docker", link: "/deploy/network/langbot-docker" }, - // { text: "仅消息平台 Docker(不建议)", link: "/deploy/network/platform-docker" }, - // { text: "LangBot和消息平台均非Docker", link: "/deploy/network/langbot-platform-manual" }, - // ], }, { text: "更新 LangBot", @@ -153,7 +146,7 @@ export default defineConfig({ collapsed: true, items: [ { text: "基础教程", link: "/plugin/dev/tutor" }, - { text: "消息平台实体", link: "/plugin/dev/messages" }, + { text: "消息实体", link: "/plugin/dev/messages" }, { text: "API 参考", link: "/plugin/dev/api-ref" }, { text: "组件扩展", link: "/plugin/dev/extension" }, ], @@ -169,17 +162,6 @@ export default defineConfig({ { text: "设置项管理", link: "/webui/settings" }, ], }, - // { - // text: "规模化和商用", - // // collapsed: true, - // // link: "/tob/", - // items: [ - // { text: "消息平台误导性", link: "/tob/platform" }, - // { text: "AI内容合规性", link: "/tob/provider" }, - // { text: "咨询方式", link: "/tob/contact" }, - // ], - // }, - { text: "实践", items: [ diff --git a/docs/deploy/langbot/docker.md b/docs/deploy/langbot/docker.md index 38e1f0ecc..027cc570a 100644 --- a/docs/deploy/langbot/docker.md +++ b/docs/deploy/langbot/docker.md @@ -28,7 +28,7 @@ docker compose up 首次启动会输出创建配置文件的提示,请继续按照文件配置。 容器会映射`5300`端口供 WebUI 使用,您可以访问`http://127.0.0.1:5300`查看 WebUI。 -还会映射`2280-2290`端口供使用 OneBot 协议的消息平台适配器反向连接,请继续阅读[消息平台接入文档](/deploy/platforms/aiocqhttp/napcat)。 +还会映射`2280-2290`端口供使用 OneBot 协议的消息平台适配器反向连接,请继续阅读[消息平台接入文档](/deploy/platforms/readme)。 ## 注意 diff --git a/docs/deploy/langbot/manual.md b/docs/deploy/langbot/manual.md index 748727c08..7f170a434 100644 --- a/docs/deploy/langbot/manual.md +++ b/docs/deploy/langbot/manual.md @@ -77,7 +77,7 @@ python main.py - data/scenario/default.json ``` -接下来可以使用 Ctrl+C 退出程序,继续查看[部署消息平台](/deploy/platforms/aiocqhttp/napcat.html)页。 +接下来可以使用 Ctrl+C 退出程序,继续查看[部署消息平台](/deploy/platforms/readme)页。 当你部署消息平台和填写配置文件后,再次运行 ```bash diff --git a/docs/deploy/langbot/one-click/bt.md b/docs/deploy/langbot/one-click/bt.md index c381d7aaa..8b42908f8 100644 --- a/docs/deploy/langbot/one-click/bt.md +++ b/docs/deploy/langbot/one-click/bt.md @@ -48,4 +48,4 @@ 如果你更偏好于直接修改json配置文件,你可以看上图的查看本地映射目录,进入安装目录,`data`文件夹用于存储配置文件,`plugins`文件夹用于存储插件相关。 -接下来请继续阅读[部署消息平台](/deploy/platforms/aiocqhttp/napcat.html)页。 +接下来请继续阅读[部署消息平台](/deploy/platforms/readme)页。 diff --git a/docs/deploy/platforms/qq/aiocqhttp/llonebot.md b/docs/deploy/platforms/qq/aiocqhttp/llonebot.md index 7adc99ab0..e3cc5a31c 100644 --- a/docs/deploy/platforms/qq/aiocqhttp/llonebot.md +++ b/docs/deploy/platforms/qq/aiocqhttp/llonebot.md @@ -1,5 +1,7 @@ # 部署消息平台 LiteLoaderQQNT +通过 OneBot 11 协议接入,需选择使用`aiocqhttp`作为适配器。 + # LiteLoaderQQNT - [LiteLoaderQQNT 的 OneBot API 插件](https://github.com/LLOneBot/LLOneBot) 注入 QQ 客户端并将其转换为 OneBot 11 协议 @@ -8,6 +10,6 @@ ![image-20240515185909108](/assets/image/llob_cfg.png) -确保地址中 IP地址 是 LangBot 运行的主机的地址(若在同一网络内运行则为 127.0.0.1),端口必须与 LangBot 消息平台配置中的 aiocqhttp 适配器监听的端口相同,后缀必须为`/ws`: +确保地址中 IP地址 是 LangBot 运行的主机的地址(若在同一网络内运行则为 127.0.0.1),端口必须与 LangBot 消息平台配置中的 `aiocqhttp 适配器`监听的端口相同,后缀必须为`/ws`: 接下来请阅读[填写配置信息](/deploy/quick-config/config)。 diff --git a/docs/deploy/platforms/qq/aiocqhttp/napcat.md b/docs/deploy/platforms/qq/aiocqhttp/napcat.md index ca41d2666..76d5c913c 100644 --- a/docs/deploy/platforms/qq/aiocqhttp/napcat.md +++ b/docs/deploy/platforms/qq/aiocqhttp/napcat.md @@ -1,5 +1,7 @@ # 部署消息平台 NapCat +通过 OneBot 11 协议接入,需选择使用`aiocqhttp`作为适配器。 + ## NapCat安装教程 按照 [NapCat 官方文档安装](https://napcat.napneko.icu/guide/start-install) diff --git a/docs/deploy/platforms/readme.md b/docs/deploy/platforms/readme.md index 0d248d8de..a9c874a31 100644 --- a/docs/deploy/platforms/readme.md +++ b/docs/deploy/platforms/readme.md @@ -1 +1,10 @@ -# 消息平台说明 \ No newline at end of file +# 消息平台说明 + +LangBot 需要连接消息平台 API 才能与用户交互,目前支持以下消息平台: + + +| 平台 | 状态 | 备注 |教程 | +| ------ | ---- | ---- | ---- | +| QQ 个人号 | ✅ | 使用普通的 QQ 号作为机器人,需要使用独立的协议端,支持 OneBot v11 和 go-cqhttp 协议 | [NapCat](/deploy/platforms/qq/aiocqhttp/napcat)
[Lagrange](/deploy/platforms/qq/aiocqhttp/lagrange)
[LiteLoaderQQNT](/deploy/platforms/qq/aiocqhttp/llonebot)
[Shamrock(不推荐)](/deploy/platforms/qq/aiocqhttp/shamrock)
[go-cqhttp(不推荐)](/deploy/platforms/qq/gocq) | +| QQ 官方机器人 | ✅ | 接入 QQ 开放平台的机器人 API | [教程](/deploy/platforms/qq/official) | +| 企业微信 | ✅ | 企业内部机器人 | [教程](/deploy/platforms/wecom/wecom) | diff --git a/docs/plugin/dev/messages.md b/docs/plugin/dev/messages.md index 35a590877..6b304d85a 100644 --- a/docs/plugin/dev/messages.md +++ b/docs/plugin/dev/messages.md @@ -1,4 +1,4 @@ -# 消息平台实体 +# 消息实体 :::info 目录 [[toc]]