From 70c10f247b5b91a49c090312e2bd2ad22dfff05a Mon Sep 17 00:00:00 2001 From: shanmite Date: Thu, 2 Dec 2021 18:50:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=94=B9=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE`key=5Fwords`=20`blockword`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/data/config.js | 6 +++--- my_config.example.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/data/config.js b/lib/data/config.js index a718093..1ff8d4b 100644 --- a/lib/data/config.js +++ b/lib/data/config.js @@ -49,8 +49,8 @@ const config = { * 符合js正则表达式的字符串 */ key_words: [ - "[抽奖]", - "[转关].*[转关]" + "[抽奖送]", + "[转关评]" ], /** @@ -229,7 +229,7 @@ const config = { /** * 屏蔽词 */ - blockword: ["脚本抽奖", "恭喜", "结果", "抽奖号", "钓鱼", "涨粉"], + blockword: ["脚本", "抽奖号", "钓鱼"], /** * 转发评语 diff --git a/my_config.example.js b/my_config.example.js index 9e03c51..0d7ac53 100644 --- a/my_config.example.js +++ b/my_config.example.js @@ -63,8 +63,8 @@ module.exports = Object.freeze({ * 符合js正则表达式的字符串 */ key_words: [ - "[抽奖]", - "[转关].*[转关]" + "[抽奖送]", + "[转关评]" ], /** @@ -243,7 +243,7 @@ module.exports = Object.freeze({ /** * 屏蔽词 */ - blockword: ["脚本抽奖", "恭喜", "结果", "抽奖号", "钓鱼", "涨粉"], + blockword: ["脚本", "抽奖号", "钓鱼"], /** * 转发评语