Coder Social home page Coder Social logo

Comments (2)

shigma avatar shigma commented on May 28, 2024

抓了一下包,好像确实没办法判断是否是 transfer 了。

{
  "action": "opened",
  "issue": {
    "url": "https://api.github.com/repos/koishijs/console/issues/124",
    "repository_url": "https://api.github.com/repos/koishijs/console",
    "labels_url": "https://api.github.com/repos/koishijs/console/issues/124/labels{/name}",
    "comments_url": "https://api.github.com/repos/koishijs/console/issues/124/comments",
    "events_url": "https://api.github.com/repos/koishijs/console/issues/124/events",
    "html_url": "https://github.com/koishijs/console/issues/124",
    "id": 1617375034,
    "node_id": "I_kwDOHpey_s5gZy86",
    "number": 124,
    "title": "Bug: 本地化修改默认值后删除,文本消失",
    "user": {
      "login": "hidfug",
      "id": 34993841,
      "node_id": "MDQ6VXNlcjM0OTkzODQx",
      "avatar_url": "https://avatars.githubusercontent.com/u/34993841?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/hidfug",
      "html_url": "https://github.com/hidfug",
      "followers_url": "https://api.github.com/users/hidfug/followers",
      "following_url": "https://api.github.com/users/hidfug/following{/other_user}",
      "gists_url": "https://api.github.com/users/hidfug/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/hidfug/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/hidfug/subscriptions",
      "organizations_url": "https://api.github.com/users/hidfug/orgs",
      "repos_url": "https://api.github.com/users/hidfug/repos",
      "events_url": "https://api.github.com/users/hidfug/events{/privacy}",
      "received_events_url": "https://api.github.com/users/hidfug/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [

    ],
    "state": "open",
    "locked": false,
    "assignee": null,
    "assignees": [

    ],
    "milestone": null,
    "comments": 0,
    "created_at": "2023-03-09T13:16:44Z",
    "updated_at": "2023-03-09T14:33:54Z",
    "closed_at": null,
    "author_association": "NONE",
    "active_lock_reason": null,
    "body": "### Describe the bug\n\n在修改本地化文本默认值后再删除,文本将不再输出.\n\n### Steps to reproduce\n\n如上\n\n### Expected behavior\n\n文本删除后应当以默认值输出而非无输出\n\n### Screenshots\n\n_No response_\n\n### Versions\n\n- OS: Debian\r\n- Platform: Onebot\r\n- Node version: v17.3.0\r\n- Koishi version: 4.11.9\r\n\n\n### Additional context\n\n_No response_",
    "reactions": {
      "url": "https://api.github.com/repos/koishijs/console/issues/124/reactions",
      "total_count": 0,
      "+1": 0,
      "-1": 0,
      "laugh": 0,
      "hooray": 0,
      "confused": 0,
      "heart": 0,
      "rocket": 0,
      "eyes": 0
    },
    "timeline_url": "https://api.github.com/repos/koishijs/console/issues/124/timeline",
    "performed_via_github_app": null,
    "state_reason": null
  },
  "repository": {
    "id": 513258238,
    "node_id": "R_kgDOHpey_g",
    "name": "console",
    "full_name": "koishijs/console",
    "private": false,
    "owner": {
      "login": "koishijs",
      "id": 58179220,
      "node_id": "MDEyOk9yZ2FuaXphdGlvbjU4MTc5MjIw",
      "avatar_url": "https://avatars.githubusercontent.com/u/58179220?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/koishijs",
      "html_url": "https://github.com/koishijs",
      "followers_url": "https://api.github.com/users/koishijs/followers",
      "following_url": "https://api.github.com/users/koishijs/following{/other_user}",
      "gists_url": "https://api.github.com/users/koishijs/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/koishijs/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/koishijs/subscriptions",
      "organizations_url": "https://api.github.com/users/koishijs/orgs",
      "repos_url": "https://api.github.com/users/koishijs/repos",
      "events_url": "https://api.github.com/users/koishijs/events{/privacy}",
      "received_events_url": "https://api.github.com/users/koishijs/received_events",
      "type": "Organization",
      "site_admin": false
    },
    "html_url": "https://github.com/koishijs/console",
    "description": "Console for Koishi.js",
    "fork": false,
    "url": "https://api.github.com/repos/koishijs/console",
    "forks_url": "https://api.github.com/repos/koishijs/console/forks",
    "keys_url": "https://api.github.com/repos/koishijs/console/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/koishijs/console/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/koishijs/console/teams",
    "hooks_url": "https://api.github.com/repos/koishijs/console/hooks",
    "issue_events_url": "https://api.github.com/repos/koishijs/console/issues/events{/number}",
    "events_url": "https://api.github.com/repos/koishijs/console/events",
    "assignees_url": "https://api.github.com/repos/koishijs/console/assignees{/user}",
    "branches_url": "https://api.github.com/repos/koishijs/console/branches{/branch}",
    "tags_url": "https://api.github.com/repos/koishijs/console/tags",
    "blobs_url": "https://api.github.com/repos/koishijs/console/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/koishijs/console/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/koishijs/console/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/koishijs/console/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/koishijs/console/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/koishijs/console/languages",
    "stargazers_url": "https://api.github.com/repos/koishijs/console/stargazers",
    "contributors_url": "https://api.github.com/repos/koishijs/console/contributors",
    "subscribers_url": "https://api.github.com/repos/koishijs/console/subscribers",
    "subscription_url": "https://api.github.com/repos/koishijs/console/subscription",
    "commits_url": "https://api.github.com/repos/koishijs/console/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/koishijs/console/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/koishijs/console/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/koishijs/console/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/koishijs/console/contents/{+path}",
    "compare_url": "https://api.github.com/repos/koishijs/console/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/koishijs/console/merges",
    "archive_url": "https://api.github.com/repos/koishijs/console/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/koishijs/console/downloads",
    "issues_url": "https://api.github.com/repos/koishijs/console/issues{/number}",
    "pulls_url": "https://api.github.com/repos/koishijs/console/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/koishijs/console/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/koishijs/console/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/koishijs/console/labels{/name}",
    "releases_url": "https://api.github.com/repos/koishijs/console/releases{/id}",
    "deployments_url": "https://api.github.com/repos/koishijs/console/deployments",
    "created_at": "2022-07-12T18:52:26Z",
    "updated_at": "2023-03-06T01:26:03Z",
    "pushed_at": "2023-03-09T14:32:06Z",
    "git_url": "git://github.com/koishijs/console.git",
    "ssh_url": "[email protected]:koishijs/console.git",
    "clone_url": "https://github.com/koishijs/console.git",
    "svn_url": "https://github.com/koishijs/console",
    "homepage": "https://koishi.online",
    "size": 1172,
    "stargazers_count": 8,
    "watchers_count": 8,
    "language": "Vue",
    "has_issues": true,
    "has_projects": false,
    "has_downloads": true,
    "has_wiki": false,
    "has_pages": false,
    "has_discussions": false,
    "forks_count": 7,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 48,
    "license": {
      "key": "agpl-3.0",
      "name": "GNU Affero General Public License v3.0",
      "spdx_id": "AGPL-3.0",
      "url": "https://api.github.com/licenses/agpl-3.0",
      "node_id": "MDc6TGljZW5zZTE="
    },
    "allow_forking": true,
    "is_template": false,
    "web_commit_signoff_required": false,
    "topics": [
      "admin",
      "console",
      "frontend",
      "koishi",
      "plugin",
      "ui"
    ],
    "visibility": "public",
    "forks": 7,
    "open_issues": 48,
    "watchers": 8,
    "default_branch": "main"
  },
  "organization": {
    "login": "koishijs",
    "id": 58179220,
    "node_id": "MDEyOk9yZ2FuaXphdGlvbjU4MTc5MjIw",
    "url": "https://api.github.com/orgs/koishijs",
    "repos_url": "https://api.github.com/orgs/koishijs/repos",
    "events_url": "https://api.github.com/orgs/koishijs/events",
    "hooks_url": "https://api.github.com/orgs/koishijs/hooks",
    "issues_url": "https://api.github.com/orgs/koishijs/issues",
    "members_url": "https://api.github.com/orgs/koishijs/members{/member}",
    "public_members_url": "https://api.github.com/orgs/koishijs/public_members{/member}",
    "avatar_url": "https://avatars.githubusercontent.com/u/58179220?v=4",
    "description": "Cross-Platform Chatbot Framework Made With Love | 现代、高效的跨平台机器人框架"
  },
  "sender": {
    "login": "hidfug",
    "id": 34993841,
    "node_id": "MDQ6VXNlcjM0OTkzODQx",
    "avatar_url": "https://avatars.githubusercontent.com/u/34993841?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/hidfug",
    "html_url": "https://github.com/hidfug",
    "followers_url": "https://api.github.com/users/hidfug/followers",
    "following_url": "https://api.github.com/users/hidfug/following{/other_user}",
    "gists_url": "https://api.github.com/users/hidfug/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/hidfug/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/hidfug/subscriptions",
    "organizations_url": "https://api.github.com/users/hidfug/orgs",
    "repos_url": "https://api.github.com/users/hidfug/repos",
    "events_url": "https://api.github.com/users/hidfug/events{/privacy}",
    "received_events_url": "https://api.github.com/users/hidfug/received_events",
    "type": "User",
    "site_admin": false
  }
}

from koishi-plugin-github.

shigma avatar shigma commented on May 28, 2024

之前额外触发了一次 issues.edited:

{
  "action": "edited",
  "issue": {
    "url": "https://api.github.com/repos/koishijs/console/issues/124",
    "repository_url": "https://api.github.com/repos/koishijs/console",
    "labels_url": "https://api.github.com/repos/koishijs/console/issues/124/labels{/name}",
    "comments_url": "https://api.github.com/repos/koishijs/console/issues/124/comments",
    "events_url": "https://api.github.com/repos/koishijs/console/issues/124/events",
    "html_url": "https://github.com/koishijs/console/issues/124",
    "id": 1617375034,
    "node_id": "I_kwDOHpey_s5gZy86",
    "number": 124,
    "title": "Bug: 本地化修改默认值后删除,文本消失",
    "user": {
      "login": "hidfug",
      "id": 34993841,
      "node_id": "MDQ6VXNlcjM0OTkzODQx",
      "avatar_url": "https://avatars.githubusercontent.com/u/34993841?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/hidfug",
      "html_url": "https://github.com/hidfug",
      "followers_url": "https://api.github.com/users/hidfug/followers",
      "following_url": "https://api.github.com/users/hidfug/following{/other_user}",
      "gists_url": "https://api.github.com/users/hidfug/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/hidfug/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/hidfug/subscriptions",
      "organizations_url": "https://api.github.com/users/hidfug/orgs",
      "repos_url": "https://api.github.com/users/hidfug/repos",
      "events_url": "https://api.github.com/users/hidfug/events{/privacy}",
      "received_events_url": "https://api.github.com/users/hidfug/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [
      {
        "id": 4321540814,
        "node_id": "LA_kwDOHpey_s8AAAABAZV6zg",
        "url": "https://api.github.com/repos/koishijs/console/labels/bug",
        "name": "bug",
        "color": "d73a4a",
        "default": true,
        "description": "Something isn't working"
      }
    ],
    "state": "open",
    "locked": false,
    "assignee": null,
    "assignees": [

    ],
    "milestone": null,
    "comments": 0,
    "created_at": "2023-03-09T13:16:44Z",
    "updated_at": "2023-03-09T14:33:54Z",
    "closed_at": null,
    "author_association": "NONE",
    "active_lock_reason": null,
    "body": "### Describe the bug\n\n在修改本地化文本默认值后再删除,文本将不再输出.\n\n### Steps to reproduce\n\n如上\n\n### Expected behavior\n\n文本删除后应当以默认值输出而非无输出\n\n### Screenshots\n\n_No response_\n\n### Versions\n\n- OS: Debian\r\n- Platform: Onebot\r\n- Node version: v17.3.0\r\n- Koishi version: 4.11.9\r\n\n\n### Additional context\n\n_No response_",
    "reactions": {
      "url": "https://api.github.com/repos/koishijs/console/issues/124/reactions",
      "total_count": 0,
      "+1": 0,
      "-1": 0,
      "laugh": 0,
      "hooray": 0,
      "confused": 0,
      "heart": 0,
      "rocket": 0,
      "eyes": 0
    },
    "timeline_url": "https://api.github.com/repos/koishijs/console/issues/124/timeline",
    "performed_via_github_app": null,
    "state_reason": null
  },
  "changes": {
    "body": {
      "from": ""
    }
  },
  "repository": {
    "id": 513258238,
    "node_id": "R_kgDOHpey_g",
    "name": "console",
    "full_name": "koishijs/console",
    "private": false,
    "owner": {
      "login": "koishijs",
      "id": 58179220,
      "node_id": "MDEyOk9yZ2FuaXphdGlvbjU4MTc5MjIw",
      "avatar_url": "https://avatars.githubusercontent.com/u/58179220?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/koishijs",
      "html_url": "https://github.com/koishijs",
      "followers_url": "https://api.github.com/users/koishijs/followers",
      "following_url": "https://api.github.com/users/koishijs/following{/other_user}",
      "gists_url": "https://api.github.com/users/koishijs/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/koishijs/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/koishijs/subscriptions",
      "organizations_url": "https://api.github.com/users/koishijs/orgs",
      "repos_url": "https://api.github.com/users/koishijs/repos",
      "events_url": "https://api.github.com/users/koishijs/events{/privacy}",
      "received_events_url": "https://api.github.com/users/koishijs/received_events",
      "type": "Organization",
      "site_admin": false
    },
    "html_url": "https://github.com/koishijs/console",
    "description": "Console for Koishi.js",
    "fork": false,
    "url": "https://api.github.com/repos/koishijs/console",
    "forks_url": "https://api.github.com/repos/koishijs/console/forks",
    "keys_url": "https://api.github.com/repos/koishijs/console/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/koishijs/console/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/koishijs/console/teams",
    "hooks_url": "https://api.github.com/repos/koishijs/console/hooks",
    "issue_events_url": "https://api.github.com/repos/koishijs/console/issues/events{/number}",
    "events_url": "https://api.github.com/repos/koishijs/console/events",
    "assignees_url": "https://api.github.com/repos/koishijs/console/assignees{/user}",
    "branches_url": "https://api.github.com/repos/koishijs/console/branches{/branch}",
    "tags_url": "https://api.github.com/repos/koishijs/console/tags",
    "blobs_url": "https://api.github.com/repos/koishijs/console/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/koishijs/console/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/koishijs/console/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/koishijs/console/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/koishijs/console/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/koishijs/console/languages",
    "stargazers_url": "https://api.github.com/repos/koishijs/console/stargazers",
    "contributors_url": "https://api.github.com/repos/koishijs/console/contributors",
    "subscribers_url": "https://api.github.com/repos/koishijs/console/subscribers",
    "subscription_url": "https://api.github.com/repos/koishijs/console/subscription",
    "commits_url": "https://api.github.com/repos/koishijs/console/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/koishijs/console/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/koishijs/console/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/koishijs/console/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/koishijs/console/contents/{+path}",
    "compare_url": "https://api.github.com/repos/koishijs/console/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/koishijs/console/merges",
    "archive_url": "https://api.github.com/repos/koishijs/console/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/koishijs/console/downloads",
    "issues_url": "https://api.github.com/repos/koishijs/console/issues{/number}",
    "pulls_url": "https://api.github.com/repos/koishijs/console/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/koishijs/console/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/koishijs/console/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/koishijs/console/labels{/name}",
    "releases_url": "https://api.github.com/repos/koishijs/console/releases{/id}",
    "deployments_url": "https://api.github.com/repos/koishijs/console/deployments",
    "created_at": "2022-07-12T18:52:26Z",
    "updated_at": "2023-03-06T01:26:03Z",
    "pushed_at": "2023-03-09T14:32:06Z",
    "git_url": "git://github.com/koishijs/console.git",
    "ssh_url": "[email protected]:koishijs/console.git",
    "clone_url": "https://github.com/koishijs/console.git",
    "svn_url": "https://github.com/koishijs/console",
    "homepage": "https://koishi.online",
    "size": 1172,
    "stargazers_count": 8,
    "watchers_count": 8,
    "language": "Vue",
    "has_issues": true,
    "has_projects": false,
    "has_downloads": true,
    "has_wiki": false,
    "has_pages": false,
    "has_discussions": false,
    "forks_count": 7,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 48,
    "license": {
      "key": "agpl-3.0",
      "name": "GNU Affero General Public License v3.0",
      "spdx_id": "AGPL-3.0",
      "url": "https://api.github.com/licenses/agpl-3.0",
      "node_id": "MDc6TGljZW5zZTE="
    },
    "allow_forking": true,
    "is_template": false,
    "web_commit_signoff_required": false,
    "topics": [
      "admin",
      "console",
      "frontend",
      "koishi",
      "plugin",
      "ui"
    ],
    "visibility": "public",
    "forks": 7,
    "open_issues": 48,
    "watchers": 8,
    "default_branch": "main"
  },
  "organization": {
    "login": "koishijs",
    "id": 58179220,
    "node_id": "MDEyOk9yZ2FuaXphdGlvbjU4MTc5MjIw",
    "url": "https://api.github.com/orgs/koishijs",
    "repos_url": "https://api.github.com/orgs/koishijs/repos",
    "events_url": "https://api.github.com/orgs/koishijs/events",
    "hooks_url": "https://api.github.com/orgs/koishijs/hooks",
    "issues_url": "https://api.github.com/orgs/koishijs/issues",
    "members_url": "https://api.github.com/orgs/koishijs/members{/member}",
    "public_members_url": "https://api.github.com/orgs/koishijs/public_members{/member}",
    "avatar_url": "https://avatars.githubusercontent.com/u/58179220?v=4",
    "description": "Cross-Platform Chatbot Framework Made With Love | 现代、高效的跨平台机器人框架"
  },
  "sender": {
    "login": "shigma",
    "id": 33423008,
    "node_id": "MDQ6VXNlcjMzNDIzMDA4",
    "avatar_url": "https://avatars.githubusercontent.com/u/33423008?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/shigma",
    "html_url": "https://github.com/shigma",
    "followers_url": "https://api.github.com/users/shigma/followers",
    "following_url": "https://api.github.com/users/shigma/following{/other_user}",
    "gists_url": "https://api.github.com/users/shigma/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/shigma/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/shigma/subscriptions",
    "organizations_url": "https://api.github.com/users/shigma/orgs",
    "repos_url": "https://api.github.com/users/shigma/repos",
    "events_url": "https://api.github.com/users/shigma/events{/privacy}",
    "received_events_url": "https://api.github.com/users/shigma/received_events",
    "type": "User",
    "site_admin": false
  }
}

from koishi-plugin-github.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.