add card message callback
continuous-integration/drone/push Build is passing

This commit is contained in:
jianxin committed 2025-03-27 00:19:03 +08:00
1 parent 3d3e437b00
commit 623c723bda
1 file changed
+1 -1
+1 -1
View File
@@ -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