This commit is contained in:
1 parent
3d3e437b00
commit
623c723bda
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user