From 623c723bdae1f6fa3740d89e8a75ff1969c68349 Mon Sep 17 00:00:00 2001 From: woni <320753691@qq.com> Date: Thu, 27 Mar 2025 00:19:03 +0800 Subject: [PATCH] add card message callback --- app/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/task.py b/app/task.py index b1514c2..198eb3c 100644 --- a/app/task.py +++ b/app/task.py @@ -149,7 +149,7 @@ def process_message_callback( content = json.loads(message_data.get("content")) content_text = content.get("text") - if "记录问题" not in content_text or "下载指令" not in content_text: + if "记录问题" not in content_text and "下载指令" not in content_text: # 忽略非记录问题的消息 lark.logger.info("忽略非记录问题的消息") return