doc: 添加 aiocqhttp 地址路径的说明

This commit is contained in:
RockChinQ
2024-03-07 18:40:55 +08:00
parent 19baa5efc2
commit d2c7399d75
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ date: 2024-02-18
`enable`:是否启用,配置完成后请将其设为`true`
`host`:监听的 IP 地址,使用 aiocqhttp 时,QChatGPT 作为服务端被动等待框架连接,请在 Shamrock 等框架中设置为运行 QChatGPT 的主机的 IP 地址,如果是同一个主机,保持设置为 `127.0.0.1` 即可
`host`:监听的 IP 地址,使用 aiocqhttp 时,QChatGPT 作为服务端被动等待框架连接,请在 Shamrock 等框架中设置`被动 ws 地址`或者`反向 ws 地址`(具体视框架而定)为 QChatGPT 监听的地址,且路径为`/ws`,例如:`ws://127.0.0.1:8080/ws`。
`port`:设置监听的端口,默认8080,需在 Shamrock 等框架中设置为与此处一致的端口
+2
View File
@@ -53,6 +53,8 @@ Mirai、go-cqhttp 之类的是模拟 QQ 的协议进行通信,而 Shamrock 使
![img](https://cos.thelazy.cn/pictures/202402201959050.png)
填写的被动 Websocket 地址为 QChatGPT 的 aiocqhttp 适配器监听的地址和端口,且路径必须为 `/ws`,例如 `ws://127.0.0.1:8080/ws`,详见填写配置信息页。
2. 并前往 LSPosed 的模块管理页面 启用模块 Shamrock
![image-20240119154110877](https://cos.thelazy.cn/pictures/202401191541922.png)