{"action":"created","comment":{"url":"https://api.github.com/repos/xiaoliwang/transcoding/pulls/comments/276497317","pull_request_review_id":228076199,"id":276497317,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI3NjQ5NzMxNw==","diff_hunk":"@@ -51,8 +55,28 @@ function hash_hmac(algorithm, data, key) {\n     return crypto.createHmac(algorithm, key).update(data).digest('hex');\n }\n \n+/**\n+ * 发送 QQ 消息\n+ *\n+ * @param {String} message 发送的信息\n+ * @todo 之后可以支持发送私聊\n+ */\n+function sendQQMessage(message) {\n+    let url = qqBot.url + '/send_msg';\n+    request.post({\n+        url: url,\n+        form: { message_type: qqBot.messageType, group_id: qqBot.groupId, message: message },\n+        headers: { 'User-Agent': USER_AGENT },","path":"lib/Utils.js","position":25,"original_position":25,"commit_id":"a1e7bfc91ccf3bb2f65f8b7c9e270c52dcc0e279","original_commit_id":"a1e7bfc91ccf3bb2f65f8b7c9e270c52dcc0e279","user":{"login":"fishcg","id":26989449,"node_id":"MDQ6VXNlcjI2OTg5NDQ5","avatar_url":"https://avatars1.githubusercontent.com/u/26989449?v=4","gravatar_id":"","url":"https://api.github.com/users/fishcg","html_url":"https://github.com/fishcg","followers_url":"https://api.github.com/users/fishcg/followers","following_url":"https://api.github.com/users/fishcg/following{/other_user}","gists_url":"https://api.github.com/users/fishcg/gists{/gist_id}","starred_url":"https://api.github.com/users/fishcg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fishcg/subscriptions","organizations_url":"https://api.github.com/users/fishcg/orgs","repos_url":"https://api.github.com/users/fishcg/repos","events_url":"https://api.github.com/users/fishcg/events{/privacy}","received_events_url":"https://api.github.com/users/fishcg/received_events","type":"User","site_admin":false},"body":"没有","created_at":"2019-04-18T02:18:47Z","updated_at":"2019-04-18T02:18:47Z","html_url":"https://github.com/xiaoliwang/transcoding/pull/17#discussion_r276497317","pull_request_url":"https://api.github.com/repos/xiaoliwang/transcoding/pulls/17","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/xiaoliwang/transcoding/pulls/comments/276497317"},"html":{"href":"https://github.com/xiaoliwang/transcoding/pull/17#discussion_r276497317"},"pull_request":{"href":"https://api.github.com/repos/xiaoliwang/transcoding/pulls/17"}},"in_reply_to_id":276194111},"pull_request":{"url":"https://api.github.com/repos/xiaoliwang/transcoding/pulls/17","id":271152587,"node_id":"MDExOlB1bGxSZXF1ZXN0MjcxMTUyNTg3","html_url":"https://github.com/xiaoliwang/transcoding/pull/17","diff_url":"https://github.com/xiaoliwang/transcoding/pull/17.diff","patch_url":"https://github.com/xiaoliwang/transcoding/pull/17.patch","issue_url":"https://api.github.com/repos/xiaoliwang/transcoding/issues/17","number":17,"state":"open","locked":false,"title":"调整音频转码后自动过审规则","user":{"login":"fishcg","id":26989449,"node_id":"MDQ6VXNlcjI2OTg5NDQ5","avatar_url":"https://avatars1.githubusercontent.com/u/26989449?v=4","gravatar_id":"","url":"https://api.github.com/users/fishcg","html_url":"https://github.com/fishcg","followers_url":"https://api.github.com/users/fishcg/followers","following_url":"https://api.github.com/users/fishcg/following{/other_user}","gists_url":"https://api.github.com/users/fishcg/gists{/gist_id}","starred_url":"https://api.github.com/users/fishcg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fishcg/subscriptions","organizations_url":"https://api.github.com/users/fishcg/orgs","repos_url":"https://api.github.com/users/fishcg/repos","events_url":"https://api.github.com/users/fishcg/events{/privacy}","received_events_url":"https://api.github.com/users/fishcg/received_events","type":"User","site_admin":false},"body":"- 需求：\r\n    * 调整自动过审规则\r\n    * 添加 QQ 报错功能，在音频转码失败或客户端断开连接时，通知到相关 QQ 群\r\n- 依赖 PR：https://github.com/MiaoSiLa/missevan-web/pull/1117","created_at":"2019-04-17T04:28:18Z","updated_at":"2019-04-18T02:18:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"09dd0e7b1b7ed71657688aaf3e825bc982737403","assignee":{"login":"fishcg","id":26989449,"node_id":"MDQ6VXNlcjI2OTg5NDQ5","avatar_url":"https://avatars1.githubusercontent.com/u/26989449?v=4","gravatar_id":"","url":"https://api.github.com/users/fishcg","html_url":"https://github.com/fishcg","followers_url":"https://api.github.com/users/fishcg/followers","following_url":"https://api.github.com/users/fishcg/following{/other_user}","gists_url":"https://api.github.com/users/fishcg/gists{/gist_id}","starred_url":"https://api.github.com/users/fishcg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fishcg/subscriptions","organizations_url":"https://api.github.com/users/fishcg/orgs","repos_url":"https://api.github.com/users/fishcg/repos","events_url":"https://api.github.com/users/fishcg/events{/privacy}","received_events_url":"https://api.github.com/users/fishcg/received_events","type":"User","site_admin":false},"assignees":[{"login":"fishcg","id":26989449,"node_id":"MDQ6VXNlcjI2OTg5NDQ5","avatar_url":"https://avatars1.githubusercontent.com/u/26989449?v=4","gravatar_id":"","url":"https://api.github.com/users/fishcg","html_url":"https://github.com/fishcg","followers_url":"https://api.github.com/users/fishcg/followers","following_url":"https://api.github.com/users/fishcg/following{/other_user}","gists_url":"https://api.github.com/users/fishcg/gists{/gist_id}","starred_url":"https://api.github.com/users/fishcg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fishcg/subscriptions","organizations_url":"https://api.github.com/users/fishcg/orgs","repos_url":"https://api.github.com/users/fishcg/repos","events_url":"https://api.github.com/users/fishcg/events{/privacy}","received_events_url":"https://api.github.com/users/fishcg/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1031014704,"node_id":"MDU6TGFiZWwxMDMxMDE0NzA0","url":"https://api.github.com/repos/xiaoliwang/transcoding/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/xiaoliwang/transcoding/pulls/17/commits","review_comments_url":"https://api.github.com/repos/xiaoliwang/transcoding/pulls/17/comments","review_comment_url":"https://api.github.com/repos/xiaoliwang/transcoding/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xiaoliwang/transcoding/issues/17/comments","statuses_url":"https://api.github.com/repos/xiaoliwang/transcoding/statuses/a1e7bfc91ccf3bb2f65f8b7c9e270c52dcc0e279","head":{"label":"fishcg:update-pass-rule","ref":"update-pass-rule","sha":"a1e7bfc91ccf3bb2f65f8b7c9e270c52dcc0e279","user":{"login":"fishcg","id":26989449,"node_id":"MDQ6VXNlcjI2OTg5NDQ5","avatar_url":"https://avatars1.githubusercontent.com/u/26989449?v=4","gravatar_id":"","url":"https://api.github.com/users/fishcg","html_url":"https://github.com/fishcg","followers_url":"https://api.github.com/users/fishcg/followers","following_url":"https://api.github.com/users/fishcg/following{/other_user}","gists_url":"https://api.github.com/users/fishcg/gists{/gist_id}","starred_url":"https://api.github.com/users/fishcg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fishcg/subscriptions","organizations_url":"https://api.github.com/users/fishcg/orgs","repos_url":"https://api.github.com/users/fishcg/repos","events_url":"https://api.github.com/users/fishcg/events{/privacy}","received_events_url":"https://api.github.com/users/fishcg/received_events","type":"User","site_admin":false},"repo":{"id":145709199,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU3MDkxOTk=","name":"transcoding","full_name":"fishcg/transcoding","private":false,"owner":{"login":"fishcg","id":26989449,"node_id":"MDQ6VXNlcjI2OTg5NDQ5","avatar_url":"https://avatars1.githubusercontent.com/u/26989449?v=4","gravatar_id":"","url":"https://api.github.com/users/fishcg","html_url":"https://github.com/fishcg","followers_url":"https://api.github.com/users/fishcg/followers","following_url":"https://api.github.com/users/fishcg/following{/other_user}","gists_url":"https://api.github.com/users/fishcg/gists{/gist_id}","starred_url":"https://api.github.com/users/fishcg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fishcg/subscriptions","organizations_url":"https://api.github.com/users/fishcg/orgs","repos_url":"https://api.github.com/users/fishcg/repos","events_url":"https://api.github.com/users/fishcg/events{/privacy}","received_events_url":"https://api.github.com/users/fishcg/received_events","type":"User","site_admin":false},"html_url":"https://github.com/fishcg/transcoding","description":"a transcoding tool for missevan","fork":true,"url":"https://api.github.com/repos/fishcg/transcoding","forks_url":"https://api.github.com/repos/fishcg/transcoding/forks","keys_url":"https://api.github.com/repos/fishcg/transcoding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fishcg/transcoding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fishcg/transcoding/teams","hooks_url":"https://api.github.com/repos/fishcg/transcoding/hooks","issue_events_url":"https://api.github.com/repos/fishcg/transcoding/issues/events{/number}","events_url":"https://api.github.com/repos/fishcg/transcoding/events","assignees_url":"https://api.github.com/repos/fishcg/transcoding/assignees{/user}","branches_url":"https://api.github.com/repos/fishcg/transcoding/branches{/branch}","tags_url":"https://api.github.com/repos/fishcg/transcoding/tags","blobs_url":"https://api.github.com/repos/fishcg/transcoding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fishcg/transcoding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fishcg/transcoding/git/refs{/sha}","trees_url":"https://api.github.com/repos/fishcg/transcoding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fishcg/transcoding/statuses/{sha}","languages_url":"https://api.github.com/repos/fishcg/transcoding/languages","stargazers_url":"https://api.github.com/repos/fishcg/transcoding/stargazers","contributors_url":"https://api.github.com/repos/fishcg/transcoding/contributors","subscribers_url":"https://api.github.com/repos/fishcg/transcoding/subscribers","subscription_url":"https://api.github.com/repos/fishcg/transcoding/subscription","commits_url":"https://api.github.com/repos/fishcg/transcoding/commits{/sha}","git_commits_url":"https://api.github.com/repos/fishcg/transcoding/git/commits{/sha}","comments_url":"https://api.github.com/repos/fishcg/transcoding/comments{/number}","issue_comment_url":"https://api.github.com/repos/fishcg/transcoding/issues/comments{/number}","contents_url":"https://api.github.com/repos/fishcg/transcoding/contents/{+path}","compare_url":"https://api.github.com/repos/fishcg/transcoding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fishcg/transcoding/merges","archive_url":"https://api.github.com/repos/fishcg/transcoding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fishcg/transcoding/downloads","issues_url":"https://api.github.com/repos/fishcg/transcoding/issues{/number}","pulls_url":"https://api.github.com/repos/fishcg/transcoding/pulls{/number}","milestones_url":"https://api.github.com/repos/fishcg/transcoding/milestones{/number}","notifications_url":"https://api.github.com/repos/fishcg/transcoding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fishcg/transcoding/labels{/name}","releases_url":"https://api.github.com/repos/fishcg/transcoding/releases{/id}","deployments_url":"https://api.github.com/repos/fishcg/transcoding/deployments","created_at":"2018-08-22T12:56:29Z","updated_at":"2019-04-17T04:12:49Z","pushed_at":"2019-04-17T10:21:42Z","git_url":"git://github.com/fishcg/transcoding.git","ssh_url":"git@github.com:fishcg/transcoding.git","clone_url":"https://github.com/fishcg/transcoding.git","svn_url":"https://github.com/fishcg/transcoding","homepage":null,"size":106,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"xiaoliwang:master","ref":"master","sha":"20723ab8fc3f6461631107d756aeb2f9a8ee7a08","user":{"login":"xiaoliwang","id":7970646,"node_id":"MDQ6VXNlcjc5NzA2NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/7970646?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaoliwang","html_url":"https://github.com/xiaoliwang","followers_url":"https://api.github.com/users/xiaoliwang/followers","following_url":"https://api.github.com/users/xiaoliwang/following{/other_user}","gists_url":"https://api.github.com/users/xiaoliwang/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaoliwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaoliwang/subscriptions","organizations_url":"https://api.github.com/users/xiaoliwang/orgs","repos_url":"https://api.github.com/users/xiaoliwang/repos","events_url":"https://api.github.com/users/xiaoliwang/events{/privacy}","received_events_url":"https://api.github.com/users/xiaoliwang/received_events","type":"User","site_admin":false},"repo":{"id":145585418,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU1ODU0MTg=","name":"transcoding","full_name":"xiaoliwang/transcoding","private":false,"owner":{"login":"xiaoliwang","id":7970646,"node_id":"MDQ6VXNlcjc5NzA2NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/7970646?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaoliwang","html_url":"https://github.com/xiaoliwang","followers_url":"https://api.github.com/users/xiaoliwang/followers","following_url":"https://api.github.com/users/xiaoliwang/following{/other_user}","gists_url":"https://api.github.com/users/xiaoliwang/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaoliwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaoliwang/subscriptions","organizations_url":"https://api.github.com/users/xiaoliwang/orgs","repos_url":"https://api.github.com/users/xiaoliwang/repos","events_url":"https://api.github.com/users/xiaoliwang/events{/privacy}","received_events_url":"https://api.github.com/users/xiaoliwang/received_events","type":"User","site_admin":false},"html_url":"https://github.com/xiaoliwang/transcoding","description":"a transcoding tool for missevan","fork":false,"url":"https://api.github.com/repos/xiaoliwang/transcoding","forks_url":"https://api.github.com/repos/xiaoliwang/transcoding/forks","keys_url":"https://api.github.com/repos/xiaoliwang/transcoding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xiaoliwang/transcoding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xiaoliwang/transcoding/teams","hooks_url":"https://api.github.com/repos/xiaoliwang/transcoding/hooks","issue_events_url":"https://api.github.com/repos/xiaoliwang/transcoding/issues/events{/number}","events_url":"https://api.github.com/repos/xiaoliwang/transcoding/events","assignees_url":"https://api.github.com/repos/xiaoliwang/transcoding/assignees{/user}","branches_url":"https://api.github.com/repos/xiaoliwang/transcoding/branches{/branch}","tags_url":"https://api.github.com/repos/xiaoliwang/transcoding/tags","blobs_url":"https://api.github.com/repos/xiaoliwang/transcoding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xiaoliwang/transcoding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xiaoliwang/transcoding/git/refs{/sha}","trees_url":"https://api.github.com/repos/xiaoliwang/transcoding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xiaoliwang/transcoding/statuses/{sha}","languages_url":"https://api.github.com/repos/xiaoliwang/transcoding/languages","stargazers_url":"https://api.github.com/repos/xiaoliwang/transcoding/stargazers","contributors_url":"https://api.github.com/repos/xiaoliwang/transcoding/contributors","subscribers_url":"https://api.github.com/repos/xiaoliwang/transcoding/subscribers","subscription_url":"https://api.github.com/repos/xiaoliwang/transcoding/subscription","commits_url":"https://api.github.com/repos/xiaoliwang/transcoding/commits{/sha}","git_commits_url":"https://api.github.com/repos/xiaoliwang/transcoding/git/commits{/sha}","comments_url":"https://api.github.com/repos/xiaoliwang/transcoding/comments{/number}","issue_comment_url":"https://api.github.com/repos/xiaoliwang/transcoding/issues/comments{/number}","contents_url":"https://api.github.com/repos/xiaoliwang/transcoding/contents/{+path}","compare_url":"https://api.github.com/repos/xiaoliwang/transcoding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xiaoliwang/transcoding/merges","archive_url":"https://api.github.com/repos/xiaoliwang/transcoding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xiaoliwang/transcoding/downloads","issues_url":"https://api.github.com/repos/xiaoliwang/transcoding/issues{/number}","pulls_url":"https://api.github.com/repos/xiaoliwang/transcoding/pulls{/number}","milestones_url":"https://api.github.com/repos/xiaoliwang/transcoding/milestones{/number}","notifications_url":"https://api.github.com/repos/xiaoliwang/transcoding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xiaoliwang/transcoding/labels{/name}","releases_url":"https://api.github.com/repos/xiaoliwang/transcoding/releases{/id}","deployments_url":"https://api.github.com/repos/xiaoliwang/transcoding/deployments","created_at":"2018-08-21T15:43:55Z","updated_at":"2018-12-26T04:17:01Z","pushed_at":"2019-04-17T10:21:43Z","git_url":"git://github.com/xiaoliwang/transcoding.git","ssh_url":"git@github.com:xiaoliwang/transcoding.git","clone_url":"https://github.com/xiaoliwang/transcoding.git","svn_url":"https://github.com/xiaoliwang/transcoding","homepage":null,"size":102,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":6,"license":null,"forks":2,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xiaoliwang/transcoding/pulls/17"},"html":{"href":"https://github.com/xiaoliwang/transcoding/pull/17"},"issue":{"href":"https://api.github.com/repos/xiaoliwang/transcoding/issues/17"},"comments":{"href":"https://api.github.com/repos/xiaoliwang/transcoding/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/xiaoliwang/transcoding/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/xiaoliwang/transcoding/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xiaoliwang/transcoding/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/xiaoliwang/transcoding/statuses/a1e7bfc91ccf3bb2f65f8b7c9e270c52dcc0e279"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"fishcg"}}