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