mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-30 04:15:45 +08:00
doc: 添加 aiocqhttp 地址路径的说明
This commit is contained in:
@@ -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 等框架中设置为与此处一致的端口
|
||||
|
||||
|
||||
@@ -53,6 +53,8 @@ Mirai、go-cqhttp 之类的是模拟 QQ 的协议进行通信,而 Shamrock 使
|
||||
|
||||

|
||||
|
||||
填写的被动 Websocket 地址为 QChatGPT 的 aiocqhttp 适配器监听的地址和端口,且路径必须为 `/ws`,例如 `ws://127.0.0.1:8080/ws`,详见填写配置信息页。
|
||||
|
||||
2. 并前往 LSPosed 的模块管理页面 启用模块 Shamrock
|
||||
|
||||

|
||||
|
||||
Reference in New Issue
Block a user