feat: adjust some configs to be optional

This commit is contained in:
zhayujie
2023-02-03 00:59:14 +08:00
parent ddc4f2ce24
commit 4c42136d0c
4 changed files with 7 additions and 12 deletions

View File

@@ -101,7 +101,7 @@ cp config-template.json config.json
+ 群组聊天中,群名称需配置在 `group_name_white_list ` 中才能开启群聊自动回复。如果想对所有群聊生效,可以直接填写 `"group_name_white_list": "ALL_GROUP"`
+ 默认只要被人 @ 就会触发机器人自动回复;另外群聊天中只要检测到以 "@bot" 开头的内容,同样会自动回复(方便自己触发),这对应配置项 `group_chat_prefix`
+ 新增group_name_keyword_white_list以应对某些群名称中包含非主流或常常变动,只匹配部分关键字将使配置简单。+ 新增group_chat_keyword以更灵活的触发群内的聊天自动回复增加趣味。
+ 可选配置: `group_name_keyword_white_list`配置项支持模糊匹配群名称,`group_chat_keyword`配置项则可模糊匹配群消息内容。Contributed by [evolay][evolay])
**3.其他配置**