{"action":"created","comment":{"url":"https://api.github.com/repos/LiquidPL/rubot/pulls/comments/77164034","id":77164034,"diff_hunk":"@@ -6,11 +6,18 @@ You need Ruby 2.3 and Bundler. First, install all the dependencies using `bundle\n ```json\n {}\n ```\n-and \"rubot-auth\" that contains the bot's auth token and client ID on two lines:\n+and \"rubot-config\" that contains the bot's auth token, client ID, GitHub webhook secret, Discord Server ID, Admin role name and the bot name on each line like this:\n ```\n TOKEN HERE\n-171456123456123456\n+BOT APP ID HERE\n+GITHUB WEBHOOK SECRET HERE","path":"README.md","position":10,"original_position":10,"commit_id":"aef31d2d02c25d9f3ba9ddcec3bf91c80c85ae06","original_commit_id":"aef31d2d02c25d9f3ba9ddcec3bf91c80c85ae06","user":{"login":"LiquidPL","id":991831,"avatar_url":"https://avatars.githubusercontent.com/u/991831?v=3","gravatar_id":"","url":"https://api.github.com/users/LiquidPL","html_url":"https://github.com/LiquidPL","followers_url":"https://api.github.com/users/LiquidPL/followers","following_url":"https://api.github.com/users/LiquidPL/following{/other_user}","gists_url":"https://api.github.com/users/LiquidPL/gists{/gist_id}","starred_url":"https://api.github.com/users/LiquidPL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiquidPL/subscriptions","organizations_url":"https://api.github.com/users/LiquidPL/orgs","repos_url":"https://api.github.com/users/LiquidPL/repos","events_url":"https://api.github.com/users/LiquidPL/events{/privacy}","received_events_url":"https://api.github.com/users/LiquidPL/received_events","type":"User","site_admin":false},"body":"i think that in the current state the bot will fail if the webhook is added to a repo that hasn't got the secret set\r\n\r\nyou could try checking for for the `X-Hub-Signature` header in the request so that it doesn't happen","created_at":"2016-09-01T12:31:31Z","updated_at":"2016-09-01T12:31:31Z","html_url":"https://github.com/LiquidPL/rubot/pull/1#discussion_r77164034","pull_request_url":"https://api.github.com/repos/LiquidPL/rubot/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/LiquidPL/rubot/pulls/comments/77164034"},"html":{"href":"https://github.com/LiquidPL/rubot/pull/1#discussion_r77164034"},"pull_request":{"href":"https://api.github.com/repos/LiquidPL/rubot/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/LiquidPL/rubot/pulls/1","id":83312907,"html_url":"https://github.com/LiquidPL/rubot/pull/1","diff_url":"https://github.com/LiquidPL/rubot/pull/1.diff","patch_url":"https://github.com/LiquidPL/rubot/pull/1.patch","issue_url":"https://api.github.com/repos/LiquidPL/rubot/issues/1","number":1,"state":"open","locked":false,"title":"moved some settings to config-file","user":{"login":"omkelderman","id":2544736,"avatar_url":"https://avatars.githubusercontent.com/u/2544736?v=3","gravatar_id":"","url":"https://api.github.com/users/omkelderman","html_url":"https://github.com/omkelderman","followers_url":"https://api.github.com/users/omkelderman/followers","following_url":"https://api.github.com/users/omkelderman/following{/other_user}","gists_url":"https://api.github.com/users/omkelderman/gists{/gist_id}","starred_url":"https://api.github.com/users/omkelderman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omkelderman/subscriptions","organizations_url":"https://api.github.com/users/omkelderman/orgs","repos_url":"https://api.github.com/users/omkelderman/repos","events_url":"https://api.github.com/users/omkelderman/events{/privacy}","received_events_url":"https://api.github.com/users/omkelderman/received_events","type":"User","site_admin":false},"body":"and yes, this is still ugly, but it works","created_at":"2016-08-30T17:27:23Z","updated_at":"2016-09-01T12:31:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d1c5d542338b5ac24744a094c8b09a5c090f48d5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/LiquidPL/rubot/pulls/1/commits","review_comments_url":"https://api.github.com/repos/LiquidPL/rubot/pulls/1/comments","review_comment_url":"https://api.github.com/repos/LiquidPL/rubot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LiquidPL/rubot/issues/1/comments","statuses_url":"https://api.github.com/repos/LiquidPL/rubot/statuses/aef31d2d02c25d9f3ba9ddcec3bf91c80c85ae06","head":{"label":"omkelderman:master","ref":"master","sha":"aef31d2d02c25d9f3ba9ddcec3bf91c80c85ae06","user":{"login":"omkelderman","id":2544736,"avatar_url":"https://avatars.githubusercontent.com/u/2544736?v=3","gravatar_id":"","url":"https://api.github.com/users/omkelderman","html_url":"https://github.com/omkelderman","followers_url":"https://api.github.com/users/omkelderman/followers","following_url":"https://api.github.com/users/omkelderman/following{/other_user}","gists_url":"https://api.github.com/users/omkelderman/gists{/gist_id}","starred_url":"https://api.github.com/users/omkelderman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omkelderman/subscriptions","organizations_url":"https://api.github.com/users/omkelderman/orgs","repos_url":"https://api.github.com/users/omkelderman/repos","events_url":"https://api.github.com/users/omkelderman/events{/privacy}","received_events_url":"https://api.github.com/users/omkelderman/received_events","type":"User","site_admin":false},"repo":{"id":66948382,"name":"rubot","full_name":"omkelderman/rubot","owner":{"login":"omkelderman","id":2544736,"avatar_url":"https://avatars.githubusercontent.com/u/2544736?v=3","gravatar_id":"","url":"https://api.github.com/users/omkelderman","html_url":"https://github.com/omkelderman","followers_url":"https://api.github.com/users/omkelderman/followers","following_url":"https://api.github.com/users/omkelderman/following{/other_user}","gists_url":"https://api.github.com/users/omkelderman/gists{/gist_id}","starred_url":"https://api.github.com/users/omkelderman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omkelderman/subscriptions","organizations_url":"https://api.github.com/users/omkelderman/orgs","repos_url":"https://api.github.com/users/omkelderman/repos","events_url":"https://api.github.com/users/omkelderman/events{/privacy}","received_events_url":"https://api.github.com/users/omkelderman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/omkelderman/rubot","description":"A simple alternative to VoltBot, written in Ruby.","fork":true,"url":"https://api.github.com/repos/omkelderman/rubot","forks_url":"https://api.github.com/repos/omkelderman/rubot/forks","keys_url":"https://api.github.com/repos/omkelderman/rubot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omkelderman/rubot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omkelderman/rubot/teams","hooks_url":"https://api.github.com/repos/omkelderman/rubot/hooks","issue_events_url":"https://api.github.com/repos/omkelderman/rubot/issues/events{/number}","events_url":"https://api.github.com/repos/omkelderman/rubot/events","assignees_url":"https://api.github.com/repos/omkelderman/rubot/assignees{/user}","branches_url":"https://api.github.com/repos/omkelderman/rubot/branches{/branch}","tags_url":"https://api.github.com/repos/omkelderman/rubot/tags","blobs_url":"https://api.github.com/repos/omkelderman/rubot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omkelderman/rubot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omkelderman/rubot/git/refs{/sha}","trees_url":"https://api.github.com/repos/omkelderman/rubot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omkelderman/rubot/statuses/{sha}","languages_url":"https://api.github.com/repos/omkelderman/rubot/languages","stargazers_url":"https://api.github.com/repos/omkelderman/rubot/stargazers","contributors_url":"https://api.github.com/repos/omkelderman/rubot/contributors","subscribers_url":"https://api.github.com/repos/omkelderman/rubot/subscribers","subscription_url":"https://api.github.com/repos/omkelderman/rubot/subscription","commits_url":"https://api.github.com/repos/omkelderman/rubot/commits{/sha}","git_commits_url":"https://api.github.com/repos/omkelderman/rubot/git/commits{/sha}","comments_url":"https://api.github.com/repos/omkelderman/rubot/comments{/number}","issue_comment_url":"https://api.github.com/repos/omkelderman/rubot/issues/comments{/number}","contents_url":"https://api.github.com/repos/omkelderman/rubot/contents/{+path}","compare_url":"https://api.github.com/repos/omkelderman/rubot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omkelderman/rubot/merges","archive_url":"https://api.github.com/repos/omkelderman/rubot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omkelderman/rubot/downloads","issues_url":"https://api.github.com/repos/omkelderman/rubot/issues{/number}","pulls_url":"https://api.github.com/repos/omkelderman/rubot/pulls{/number}","milestones_url":"https://api.github.com/repos/omkelderman/rubot/milestones{/number}","notifications_url":"https://api.github.com/repos/omkelderman/rubot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omkelderman/rubot/labels{/name}","releases_url":"https://api.github.com/repos/omkelderman/rubot/releases{/id}","deployments_url":"https://api.github.com/repos/omkelderman/rubot/deployments","created_at":"2016-08-30T14:30:05Z","updated_at":"2016-08-30T14:30:06Z","pushed_at":"2016-08-30T19:34:07Z","git_url":"git://github.com/omkelderman/rubot.git","ssh_url":"git@github.com:omkelderman/rubot.git","clone_url":"https://github.com/omkelderman/rubot.git","svn_url":"https://github.com/omkelderman/rubot","homepage":null,"size":13,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"LiquidPL:master","ref":"master","sha":"ee95c11c8e4f3d9b30962b0b57d1f1635bb93fbd","user":{"login":"LiquidPL","id":991831,"avatar_url":"https://avatars.githubusercontent.com/u/991831?v=3","gravatar_id":"","url":"https://api.github.com/users/LiquidPL","html_url":"https://github.com/LiquidPL","followers_url":"https://api.github.com/users/LiquidPL/followers","following_url":"https://api.github.com/users/LiquidPL/following{/other_user}","gists_url":"https://api.github.com/users/LiquidPL/gists{/gist_id}","starred_url":"https://api.github.com/users/LiquidPL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiquidPL/subscriptions","organizations_url":"https://api.github.com/users/LiquidPL/orgs","repos_url":"https://api.github.com/users/LiquidPL/repos","events_url":"https://api.github.com/users/LiquidPL/events{/privacy}","received_events_url":"https://api.github.com/users/LiquidPL/received_events","type":"User","site_admin":false},"repo":{"id":61136018,"name":"rubot","full_name":"LiquidPL/rubot","owner":{"login":"LiquidPL","id":991831,"avatar_url":"https://avatars.githubusercontent.com/u/991831?v=3","gravatar_id":"","url":"https://api.github.com/users/LiquidPL","html_url":"https://github.com/LiquidPL","followers_url":"https://api.github.com/users/LiquidPL/followers","following_url":"https://api.github.com/users/LiquidPL/following{/other_user}","gists_url":"https://api.github.com/users/LiquidPL/gists{/gist_id}","starred_url":"https://api.github.com/users/LiquidPL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiquidPL/subscriptions","organizations_url":"https://api.github.com/users/LiquidPL/orgs","repos_url":"https://api.github.com/users/LiquidPL/repos","events_url":"https://api.github.com/users/LiquidPL/events{/privacy}","received_events_url":"https://api.github.com/users/LiquidPL/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LiquidPL/rubot","description":"A simple alternative to VoltBot, written in Ruby.","fork":true,"url":"https://api.github.com/repos/LiquidPL/rubot","forks_url":"https://api.github.com/repos/LiquidPL/rubot/forks","keys_url":"https://api.github.com/repos/LiquidPL/rubot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LiquidPL/rubot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LiquidPL/rubot/teams","hooks_url":"https://api.github.com/repos/LiquidPL/rubot/hooks","issue_events_url":"https://api.github.com/repos/LiquidPL/rubot/issues/events{/number}","events_url":"https://api.github.com/repos/LiquidPL/rubot/events","assignees_url":"https://api.github.com/repos/LiquidPL/rubot/assignees{/user}","branches_url":"https://api.github.com/repos/LiquidPL/rubot/branches{/branch}","tags_url":"https://api.github.com/repos/LiquidPL/rubot/tags","blobs_url":"https://api.github.com/repos/LiquidPL/rubot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LiquidPL/rubot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LiquidPL/rubot/git/refs{/sha}","trees_url":"https://api.github.com/repos/LiquidPL/rubot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LiquidPL/rubot/statuses/{sha}","languages_url":"https://api.github.com/repos/LiquidPL/rubot/languages","stargazers_url":"https://api.github.com/repos/LiquidPL/rubot/stargazers","contributors_url":"https://api.github.com/repos/LiquidPL/rubot/contributors","subscribers_url":"https://api.github.com/repos/LiquidPL/rubot/subscribers","subscription_url":"https://api.github.com/repos/LiquidPL/rubot/subscription","commits_url":"https://api.github.com/repos/LiquidPL/rubot/commits{/sha}","git_commits_url":"https://api.github.com/repos/LiquidPL/rubot/git/commits{/sha}","comments_url":"https://api.github.com/repos/LiquidPL/rubot/comments{/number}","issue_comment_url":"https://api.github.com/repos/LiquidPL/rubot/issues/comments{/number}","contents_url":"https://api.github.com/repos/LiquidPL/rubot/contents/{+path}","compare_url":"https://api.github.com/repos/LiquidPL/rubot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LiquidPL/rubot/merges","archive_url":"https://api.github.com/repos/LiquidPL/rubot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LiquidPL/rubot/downloads","issues_url":"https://api.github.com/repos/LiquidPL/rubot/issues{/number}","pulls_url":"https://api.github.com/repos/LiquidPL/rubot/pulls{/number}","milestones_url":"https://api.github.com/repos/LiquidPL/rubot/milestones{/number}","notifications_url":"https://api.github.com/repos/LiquidPL/rubot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LiquidPL/rubot/labels{/name}","releases_url":"https://api.github.com/repos/LiquidPL/rubot/releases{/id}","deployments_url":"https://api.github.com/repos/LiquidPL/rubot/deployments","created_at":"2016-06-14T15:53:36Z","updated_at":"2016-06-14T15:53:38Z","pushed_at":"2016-08-30T19:34:07Z","git_url":"git://github.com/LiquidPL/rubot.git","ssh_url":"git@github.com:LiquidPL/rubot.git","clone_url":"https://github.com/LiquidPL/rubot.git","svn_url":"https://github.com/LiquidPL/rubot","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LiquidPL/rubot/pulls/1"},"html":{"href":"https://github.com/LiquidPL/rubot/pull/1"},"issue":{"href":"https://api.github.com/repos/LiquidPL/rubot/issues/1"},"comments":{"href":"https://api.github.com/repos/LiquidPL/rubot/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/LiquidPL/rubot/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/LiquidPL/rubot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LiquidPL/rubot/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/LiquidPL/rubot/statuses/aef31d2d02c25d9f3ba9ddcec3bf91c80c85ae06"}}}}
{"actor":{"display_login":"LiquidPL"}}