update doc

This commit is contained in:
felinae98 2022-03-11 00:22:39 +08:00
parent 88d7a7b9de
commit 550dc9f74c
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610
3 changed files with 8 additions and 3 deletions

1
.gitignore vendored
View File

@ -274,6 +274,7 @@ dist
# vuepress build output # vuepress build output
.vuepress/dist .vuepress/dist
docs/.vuepress/.temp/
# Serverless directories # Serverless directories
.serverless/ .serverless/

View File

@ -2,7 +2,7 @@ module.exports = {
title: 'Nonebot Bison', title: 'Nonebot Bison',
description: 'Docs for Nonebot Bison', description: 'Docs for Nonebot Bison',
themeConfig: { themeConfig: {
nav: [ navbar: [
{ text: '主页', link: '/' }, { text: '主页', link: '/' },
{ text: '部署与使用', link: '/usage/' }, { text: '部署与使用', link: '/usage/' },
{ text: '开发', link: '/dev/' }, { text: '开发', link: '/dev/' },

View File

@ -116,15 +116,19 @@ sidebar: auto
- `BISON_USE_QUEUE`: 是否用队列的方式发送消息,降低发送频率,默认开 - `BISON_USE_QUEUE`: 是否用队列的方式发送消息,降低发送频率,默认开
- `BISON_RESEND_TIMES`: 最大重发次数,默认 0 - `BISON_RESEND_TIMES`: 最大重发次数,默认 0
- `BISON_USE_PIC_MERGE`: 是否启用多图片时合并转发(仅限群) - `BISON_USE_PIC_MERGE`: 是否启用多图片时合并转发(仅限群)
- `0`: 不启用(默认) - `0`: 不启用(默认)
- `1`: 首条消息单独发送,剩余图片合并转发 - `1`: 首条消息单独发送,剩余图片合并转发
- `2`: 所有消息全部合并转发 - `2`: 所有消息全部合并转发
::: details 配置项示例
::: details 配置项示例
- 当`BISON_USE_PIC_MERGE=1`时: - 当`BISON_USE_PIC_MERGE=1`时:
![simple1](./pic/forward-msg-simple1.png) ![simple1](./pic/forward-msg-simple1.png)
- 当`BISON_USE_PIC_MERGE=2`时: - 当`BISON_USE_PIC_MERGE=2`时:
![simple1](./pic/forward-msg-simple2.png) ![simple1](./pic/forward-msg-simple2.png)
:::
:::
## 使用 ## 使用