1 parent
72753038d2
commit
2eb9fb36ea
2 files changed
+31
-1
No files matched your search
+5
-1
@@ -19,7 +19,11 @@ def process_message_callback(
|
||||
# 记录问题到多维表格逻辑
|
||||
# 如果 @机器人 不等于"记录问题", 什么都不做
|
||||
# 如果 @机器人 等于"记录问题", 获取当前的话题, 从话题中提取问题发起人的所有消息和图片, 记录到多维表格中
|
||||
|
||||
|
||||
if message_type == "text" and message_content != "记录问题":
|
||||
message_content = content["text"].replace("@_user_1", "").strip()
|
||||
lark.logger.info(f"message_content: {message_content}")
|
||||
|
||||
|
||||
client = lark.Client.builder().app_id(app_id).app_secret(app_secret).build()
|
||||
|
||||
|
||||
Reference in new issue
Block a user