From 02870d17fa2678553181a7e2a344e4bd14955c65 Mon Sep 17 00:00:00 2001 From: felinae98 <731499577@qq.com> Date: Wed, 9 Mar 2022 15:15:08 +0800 Subject: [PATCH] update doc --- docker-compose.yml | 1 - docs/usage/README.md | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5f2a0d1..e6843ca 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,7 +14,6 @@ services: HOST: 0.0.0.0 # SUPERUSERS: '[]' BISON_CONFIG_PATH: /data - BISON_BROWSER: ws://browserless:3000 # BISON_OUTER_URL: 'http://:8080/bison' BISON_FILTER_LOG: true BISON_USE_PIC: false # 如果需要将文字转为图片发送请改为true diff --git a/docs/usage/README.md b/docs/usage/README.md index 57ad323..ed88c54 100644 --- a/docs/usage/README.md +++ b/docs/usage/README.md @@ -42,7 +42,7 @@ sidebar: auto servers: - ws-reverse: - universal: ws://nonebot:8080/cqhttp/ws # 将这个字段写为这个值 + universal: ws://nonebot:8080/onebot/v11/ws/ # 将这个字段写为这个值 ``` 3. 登录 go-cqhttp @@ -107,11 +107,14 @@ sidebar: auto 截止发布时,本项目尚不能完全与 browserless 兼容,目前建议使用镜像内自带的浏览器,即 不要配置这个变量 ::: +- `BISON_SKIP_BROWSER_CHECK`: 是否在启动时自动下载浏览器,如果选择`False`会在用到浏览器时自动下载, + 默认`True` - `BISON_OUTER_URL`: 从外部访问服务器的地址,默认为`http://localhost:8080/bison`,如果你的插件部署 在服务器上,建议配置为`http://<你的服务器ip>:8080/bison` - `BISON_FILTER_LOG`: 是否过滤来自`nonebot`的 warning 级以下的 log,如果你的 bot 只运行了这个插件可以考虑 开启,默认关 - `BISON_USE_QUEUE`: 是否用队列的方式发送消息,降低发送频率,默认开 +- `BISON_RESEND_TIMES`: 最大重发次数,默认 0 ## 使用