From ad55738a88a38bc888996b8b27937de4b05d9344 Mon Sep 17 00:00:00 2001 From: congxu Date: Thu, 1 Jun 2023 15:46:02 +0800 Subject: [PATCH] Update getnews.py --- plugins/plugin_getnews/getnews.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/plugin_getnews/getnews.py b/plugins/plugin_getnews/getnews.py index f4074eba9..7c12b5756 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 content == "请重试": + if content == "请重试" OR re.match(r"。.*", content): e_context.action = EventAction.BREAK_PASS # 事件结束,并跳过处理context的默认逻辑 if re.search(r"微博|weibo|wb", content) and len(content) <= 5: