diff --git a/server/tasks/lark/chat.py b/server/tasks/lark/chat.py index e518f167..d6562bc8 100644 --- a/server/tasks/lark/chat.py +++ b/server/tasks/lark/chat.py @@ -224,7 +224,7 @@ def create_issue( if len(repos) == 0: root_id = data["event"]["message"].get("root_id", "") if root_id: - repo, issue, pr = tasks.get_git_object_by_message_id(root_id) + repo, issue, pr = get_git_object_by_message_id(root_id) if repo: repos = [repo] elif issue or pr: diff --git a/server/utils/lark/chat_manual.py b/server/utils/lark/chat_manual.py index 72eec500..ad9bd296 100644 --- a/server/utils/lark/chat_manual.py +++ b/server/utils/lark/chat_manual.py @@ -29,6 +29,10 @@ def __init__( # if len(actions) > 0 # else None, # ), + FeishuMessageDiv( + content="**🗄 关联新仓库至当前群聊 **\n*群聊下回复「/match + repo url」 *", + tag="lark_md", + ), FeishuMessageDiv( content=f"**⚡️ 前往 GitHub 查看 Repo 主页 **\n*群聊下回复「/view」 *", tag="lark_md",