feat(chat): 引入专注模式安静群组功能

新增 `focus_mode_quiet_groups` 配置项,允许用户指定在专注模式下需要保持安静的群组列表。

在此列表中的群组,机器人只有在被明确提及(艾特)时才会做出回应。这有助于在某些活跃度高但不需要机器人持续参与的群组中减少打扰。

该功能兼容了不同QQ适配器(如 `qq` 和 `napcat`)的平台名称。
This commit is contained in:
tt-P607
2025-09-11 08:50:05 +08:00
parent cf5b7e9083
commit 8f65953b9d
3 changed files with 41 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
[inner]
version = "6.8.0"
version = "6.8.1"
#----以下是给开发人员阅读的如果你只是部署了MoFox-Bot不需要阅读----
#如果你想要修改配置文件请递增version的值
@@ -111,6 +111,12 @@ talk_frequency = 1
focus_value = 1
# MoFox-Bot的专注思考能力越高越容易持续连续对话
# 在专注模式下,只在被艾特或提及时才回复的群组列表
# 这可以让你在某些群里保持“高冷”,只在被需要时才发言
# 格式为: ["platform:group_id1", "platform:group_id2"]
# 例如: ["qq:123456789", "qq:987654321"]
focus_mode_quiet_groups = []
# breaking模式配置
enable_breaking_mode = true # 是否启用自动进入breaking模式关闭后不会自动进入breaking形式