From 497a393e831ad9617bdec3af20487ef744a61715 Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Wed, 7 Jun 2023 23:49:09 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E4=BF=AE=E6=94=B9wiki?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- res/wiki/功能使用.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/res/wiki/功能使用.md b/res/wiki/功能使用.md index aee88fc4..df469bcf 100644 --- a/res/wiki/功能使用.md +++ b/res/wiki/功能使用.md @@ -375,4 +375,5 @@ prompt_submit_length = <模型单次请求token数上限> - 情景预设中token ### 加入黑名单 -编辑`banlist.py`,设置`enable = True`,并在其中的`person`或`group`列表中加入要封禁的人或群聊,修改完成后重启程序或进行热重载 \ No newline at end of file +- 支持禁用所有`私聊`或`群聊`,请查看`banlist.py`中的`enable_private`和`enable_group`字段 +- 编辑`banlist.py`,设置`enable = True`,并在其中的`person`或`group`列表中加入要封禁的人或群聊,修改完成后重启程序或进行热重载 \ No newline at end of file