diff --git a/lib/core/monitor.js b/lib/core/monitor.js index abcba97..656771b 100644 --- a/lib/core/monitor.js +++ b/lib/core/monitor.js @@ -353,6 +353,10 @@ class Monitor extends Searcher { log.debug("筛选动态", { real_uid, mIsFollowed, oriIsFollowed, realIsFollowed, needAt, needTopic, isRelayDynamic, key_words, has_key_words, blockword, isBlock, isLottery, isSendChat }) + if (!has_key_words && description) { + log.warn("筛选动态", `无关键词动态的描述: ${description}\n\n考虑是否修改设置key_words:\n${key_words.join('\n')}`) + } + /**屏蔽词 */ if (isBlock) { log.info("筛选动态", `包含屏蔽词(https://t.bilibili.com/${dyid})`) diff --git a/lib/data/config.js b/lib/data/config.js index 8954948..8ceb96e 100644 --- a/lib/data/config.js +++ b/lib/data/config.js @@ -49,8 +49,8 @@ const config = { * 符合js正则表达式的字符串 */ key_words: [ - "[抽奖送]", - "[转关评]" + "[抽奖送揪]|福利", + "[转关评粉]|参与" ], /** diff --git a/my_config.example.js b/my_config.example.js index f5080c0..4cb2a25 100644 --- a/my_config.example.js +++ b/my_config.example.js @@ -63,8 +63,8 @@ module.exports = Object.freeze({ * 符合js正则表达式的字符串 */ key_words: [ - "[抽奖送]", - "[转关评]" + "[抽奖送揪]|福利", + "[转关评粉]|参与" ], /**