From 164305e81f6857c444648559eea9dc4d2f3989ff Mon Sep 17 00:00:00 2001 From: passthem Date: Fri, 24 Oct 2025 02:27:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=20man?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- konabot/docs/sys/怪话过滤.txt | 9 --------- konabot/docs/user/怪话.txt | 12 ------------ konabot/plugins/man/__init__.py | 2 +- 3 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 konabot/docs/sys/怪话过滤.txt delete mode 100644 konabot/docs/user/怪话.txt diff --git a/konabot/docs/sys/怪话过滤.txt b/konabot/docs/sys/怪话过滤.txt deleted file mode 100644 index 8e99522..0000000 --- a/konabot/docs/sys/怪话过滤.txt +++ /dev/null @@ -1,9 +0,0 @@ -指令介绍 - 怪话过滤 - 去除含有关键词的怪话 - -使用方法 - `怪话过滤 说的道理` - 去除所有含有“说的道理”的怪话 - -另见 - 怪话(1) diff --git a/konabot/docs/user/怪话.txt b/konabot/docs/user/怪话.txt deleted file mode 100644 index 4e2dd85..0000000 --- a/konabot/docs/user/怪话.txt +++ /dev/null @@ -1,12 +0,0 @@ -指令介绍 - 说点怪话/说些怪话 - 让 BOT 学群友胡言乱语 - -适用范围 - 为保证安全,只有少数授权的群聊可以使用该指令 - -使用方法 - `说点怪话 今天吃什么` - 期待 Bot 会回答你什么吧 - - `说些怪话 明天不想上体育课` - Bot 会回复你三句怪话 diff --git a/konabot/plugins/man/__init__.py b/konabot/plugins/man/__init__.py index 3fcca82..0d3a75a 100644 --- a/konabot/plugins/man/__init__.py +++ b/konabot/plugins/man/__init__.py @@ -75,7 +75,7 @@ async def _( else: # 查阅模式 if section is None: - section_set = {1} + section_set = {1, 7} else: section_set = {section} if 1 in section_set and is_admin(event):