diff --git a/plugins/plugin_getnews/getnews.py b/plugins/plugin_getnews/getnews.py index 9c5af9c45..b10e7b7ca 100644 --- a/plugins/plugin_getnews/getnews.py +++ b/plugins/plugin_getnews/getnews.py @@ -55,7 +55,7 @@ def on_handle_context(self, e_context: EventContext): e_context['reply'] = reply e_context.action = EventAction.BREAK_PASS # 事件结束,并跳过处理context的默认逻辑 - if re.match(r"我是.*", content): + if re.match(r"我是.*", content) and len(content) <= 12: reply = Reply() reply.type = ReplyType.TEXT