{"action":"created","comment":{"url":"https://api.github.com/repos/osdc/osdc-bot/pulls/comments/77457625","id":77457625,"diff_hunk":"@@ -98,15 +100,18 @@ function reply_to_user(user, message) {\n     const parsedMessage = message.slice(BOT_MENTION_NAME.length + 1);\n     console.log(parsedMessage);\n     const startsWithString = _getStartsWith(parsedMessage);\n-    if (startsWithString === BOT_ACTIONS.HELP) {\n+  if (startsWithString === BOT_ACTIONS.HELP) {\n       send(_getBotHelp(), username);\n     }\n+  if (startsWithString === BOT_ACTIONS.QUOTE){\n+      quotation.getQuote(send, username);\n+    }\n \n-    if (startsWithString === BOT_ACTIONS.JOKE) {\n+  if (startsWithString === BOT_ACTIONS.JOKE) {\n       joker.getJoke(send, username);\n     }\n \n-    if (startsWithString === BOT_ACTIONS.DEPLOY) {\n+  if (startsWithString === BOT_ACTIONS.DEPLOY) {","path":"chatbot.js","position":36,"original_position":36,"commit_id":"59abed9efb684310509c962992c9b92af64021c2","original_commit_id":"59abed9efb684310509c962992c9b92af64021c2","user":{"login":"526avijitgupta","id":7583815,"avatar_url":"https://avatars.githubusercontent.com/u/7583815?v=3","gravatar_id":"","url":"https://api.github.com/users/526avijitgupta","html_url":"https://github.com/526avijitgupta","followers_url":"https://api.github.com/users/526avijitgupta/followers","following_url":"https://api.github.com/users/526avijitgupta/following{/other_user}","gists_url":"https://api.github.com/users/526avijitgupta/gists{/gist_id}","starred_url":"https://api.github.com/users/526avijitgupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/526avijitgupta/subscriptions","organizations_url":"https://api.github.com/users/526avijitgupta/orgs","repos_url":"https://api.github.com/users/526avijitgupta/repos","events_url":"https://api.github.com/users/526avijitgupta/events{/privacy}","received_events_url":"https://api.github.com/users/526avijitgupta/received_events","type":"User","site_admin":false},"body":"Incorrect indentation","created_at":"2016-09-04T19:54:14Z","updated_at":"2016-09-04T19:54:14Z","html_url":"https://github.com/osdc/osdc-bot/pull/7#discussion_r77457625","pull_request_url":"https://api.github.com/repos/osdc/osdc-bot/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/osdc/osdc-bot/pulls/comments/77457625"},"html":{"href":"https://github.com/osdc/osdc-bot/pull/7#discussion_r77457625"},"pull_request":{"href":"https://api.github.com/repos/osdc/osdc-bot/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/osdc/osdc-bot/pulls/7","id":83910221,"html_url":"https://github.com/osdc/osdc-bot/pull/7","diff_url":"https://github.com/osdc/osdc-bot/pull/7.diff","patch_url":"https://github.com/osdc/osdc-bot/pull/7.patch","issue_url":"https://api.github.com/repos/osdc/osdc-bot/issues/7","number":7,"state":"open","locked":false,"title":"Quote service for osdc-bot","user":{"login":"abhishekgupta5","id":9041163,"avatar_url":"https://avatars.githubusercontent.com/u/9041163?v=3","gravatar_id":"","url":"https://api.github.com/users/abhishekgupta5","html_url":"https://github.com/abhishekgupta5","followers_url":"https://api.github.com/users/abhishekgupta5/followers","following_url":"https://api.github.com/users/abhishekgupta5/following{/other_user}","gists_url":"https://api.github.com/users/abhishekgupta5/gists{/gist_id}","starred_url":"https://api.github.com/users/abhishekgupta5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhishekgupta5/subscriptions","organizations_url":"https://api.github.com/users/abhishekgupta5/orgs","repos_url":"https://api.github.com/users/abhishekgupta5/repos","events_url":"https://api.github.com/users/abhishekgupta5/events{/privacy}","received_events_url":"https://api.github.com/users/abhishekgupta5/received_events","type":"User","site_admin":false},"body":"'@osdc-bot quote'\r\nThe bot will generate a random quote.","created_at":"2016-09-04T00:59:14Z","updated_at":"2016-09-04T19:54:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb4b94d5f5a87d355e5814f5efbc39b74d1910c0","assignee":{"login":"526avijitgupta","id":7583815,"avatar_url":"https://avatars.githubusercontent.com/u/7583815?v=3","gravatar_id":"","url":"https://api.github.com/users/526avijitgupta","html_url":"https://github.com/526avijitgupta","followers_url":"https://api.github.com/users/526avijitgupta/followers","following_url":"https://api.github.com/users/526avijitgupta/following{/other_user}","gists_url":"https://api.github.com/users/526avijitgupta/gists{/gist_id}","starred_url":"https://api.github.com/users/526avijitgupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/526avijitgupta/subscriptions","organizations_url":"https://api.github.com/users/526avijitgupta/orgs","repos_url":"https://api.github.com/users/526avijitgupta/repos","events_url":"https://api.github.com/users/526avijitgupta/events{/privacy}","received_events_url":"https://api.github.com/users/526avijitgupta/received_events","type":"User","site_admin":false},"assignees":[{"login":"526avijitgupta","id":7583815,"avatar_url":"https://avatars.githubusercontent.com/u/7583815?v=3","gravatar_id":"","url":"https://api.github.com/users/526avijitgupta","html_url":"https://github.com/526avijitgupta","followers_url":"https://api.github.com/users/526avijitgupta/followers","following_url":"https://api.github.com/users/526avijitgupta/following{/other_user}","gists_url":"https://api.github.com/users/526avijitgupta/gists{/gist_id}","starred_url":"https://api.github.com/users/526avijitgupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/526avijitgupta/subscriptions","organizations_url":"https://api.github.com/users/526avijitgupta/orgs","repos_url":"https://api.github.com/users/526avijitgupta/repos","events_url":"https://api.github.com/users/526avijitgupta/events{/privacy}","received_events_url":"https://api.github.com/users/526avijitgupta/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/osdc/osdc-bot/pulls/7/commits","review_comments_url":"https://api.github.com/repos/osdc/osdc-bot/pulls/7/comments","review_comment_url":"https://api.github.com/repos/osdc/osdc-bot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/osdc/osdc-bot/issues/7/comments","statuses_url":"https://api.github.com/repos/osdc/osdc-bot/statuses/59abed9efb684310509c962992c9b92af64021c2","head":{"label":"abhishekgupta5:master","ref":"master","sha":"59abed9efb684310509c962992c9b92af64021c2","user":{"login":"abhishekgupta5","id":9041163,"avatar_url":"https://avatars.githubusercontent.com/u/9041163?v=3","gravatar_id":"","url":"https://api.github.com/users/abhishekgupta5","html_url":"https://github.com/abhishekgupta5","followers_url":"https://api.github.com/users/abhishekgupta5/followers","following_url":"https://api.github.com/users/abhishekgupta5/following{/other_user}","gists_url":"https://api.github.com/users/abhishekgupta5/gists{/gist_id}","starred_url":"https://api.github.com/users/abhishekgupta5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhishekgupta5/subscriptions","organizations_url":"https://api.github.com/users/abhishekgupta5/orgs","repos_url":"https://api.github.com/users/abhishekgupta5/repos","events_url":"https://api.github.com/users/abhishekgupta5/events{/privacy}","received_events_url":"https://api.github.com/users/abhishekgupta5/received_events","type":"User","site_admin":false},"repo":{"id":67295873,"name":"osdc-bot","full_name":"abhishekgupta5/osdc-bot","owner":{"login":"abhishekgupta5","id":9041163,"avatar_url":"https://avatars.githubusercontent.com/u/9041163?v=3","gravatar_id":"","url":"https://api.github.com/users/abhishekgupta5","html_url":"https://github.com/abhishekgupta5","followers_url":"https://api.github.com/users/abhishekgupta5/followers","following_url":"https://api.github.com/users/abhishekgupta5/following{/other_user}","gists_url":"https://api.github.com/users/abhishekgupta5/gists{/gist_id}","starred_url":"https://api.github.com/users/abhishekgupta5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhishekgupta5/subscriptions","organizations_url":"https://api.github.com/users/abhishekgupta5/orgs","repos_url":"https://api.github.com/users/abhishekgupta5/repos","events_url":"https://api.github.com/users/abhishekgupta5/events{/privacy}","received_events_url":"https://api.github.com/users/abhishekgupta5/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abhishekgupta5/osdc-bot","description":"Our Beloved Bot","fork":true,"url":"https://api.github.com/repos/abhishekgupta5/osdc-bot","forks_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/forks","keys_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/teams","hooks_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/hooks","issue_events_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/issues/events{/number}","events_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/events","assignees_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/assignees{/user}","branches_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/branches{/branch}","tags_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/tags","blobs_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/statuses/{sha}","languages_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/languages","stargazers_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/stargazers","contributors_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/contributors","subscribers_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/subscribers","subscription_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/subscription","commits_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/contents/{+path}","compare_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/merges","archive_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/downloads","issues_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/issues{/number}","pulls_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/pulls{/number}","milestones_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/milestones{/number}","notifications_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/labels{/name}","releases_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/releases{/id}","deployments_url":"https://api.github.com/repos/abhishekgupta5/osdc-bot/deployments","created_at":"2016-09-03T15:01:01Z","updated_at":"2016-09-03T15:01:02Z","pushed_at":"2016-09-04T19:38:29Z","git_url":"git://github.com/abhishekgupta5/osdc-bot.git","ssh_url":"git@github.com:abhishekgupta5/osdc-bot.git","clone_url":"https://github.com/abhishekgupta5/osdc-bot.git","svn_url":"https://github.com/abhishekgupta5/osdc-bot","homepage":null,"size":27,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"osdc:master","ref":"master","sha":"e75732b7a88fe42aca98a9962d4beb1fa9ae414f","user":{"login":"osdc","id":919383,"avatar_url":"https://avatars.githubusercontent.com/u/919383?v=3","gravatar_id":"","url":"https://api.github.com/users/osdc","html_url":"https://github.com/osdc","followers_url":"https://api.github.com/users/osdc/followers","following_url":"https://api.github.com/users/osdc/following{/other_user}","gists_url":"https://api.github.com/users/osdc/gists{/gist_id}","starred_url":"https://api.github.com/users/osdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osdc/subscriptions","organizations_url":"https://api.github.com/users/osdc/orgs","repos_url":"https://api.github.com/users/osdc/repos","events_url":"https://api.github.com/users/osdc/events{/privacy}","received_events_url":"https://api.github.com/users/osdc/received_events","type":"Organization","site_admin":false},"repo":{"id":67201586,"name":"osdc-bot","full_name":"osdc/osdc-bot","owner":{"login":"osdc","id":919383,"avatar_url":"https://avatars.githubusercontent.com/u/919383?v=3","gravatar_id":"","url":"https://api.github.com/users/osdc","html_url":"https://github.com/osdc","followers_url":"https://api.github.com/users/osdc/followers","following_url":"https://api.github.com/users/osdc/following{/other_user}","gists_url":"https://api.github.com/users/osdc/gists{/gist_id}","starred_url":"https://api.github.com/users/osdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osdc/subscriptions","organizations_url":"https://api.github.com/users/osdc/orgs","repos_url":"https://api.github.com/users/osdc/repos","events_url":"https://api.github.com/users/osdc/events{/privacy}","received_events_url":"https://api.github.com/users/osdc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osdc/osdc-bot","description":"Our Beloved Bot","fork":false,"url":"https://api.github.com/repos/osdc/osdc-bot","forks_url":"https://api.github.com/repos/osdc/osdc-bot/forks","keys_url":"https://api.github.com/repos/osdc/osdc-bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osdc/osdc-bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osdc/osdc-bot/teams","hooks_url":"https://api.github.com/repos/osdc/osdc-bot/hooks","issue_events_url":"https://api.github.com/repos/osdc/osdc-bot/issues/events{/number}","events_url":"https://api.github.com/repos/osdc/osdc-bot/events","assignees_url":"https://api.github.com/repos/osdc/osdc-bot/assignees{/user}","branches_url":"https://api.github.com/repos/osdc/osdc-bot/branches{/branch}","tags_url":"https://api.github.com/repos/osdc/osdc-bot/tags","blobs_url":"https://api.github.com/repos/osdc/osdc-bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osdc/osdc-bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osdc/osdc-bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/osdc/osdc-bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osdc/osdc-bot/statuses/{sha}","languages_url":"https://api.github.com/repos/osdc/osdc-bot/languages","stargazers_url":"https://api.github.com/repos/osdc/osdc-bot/stargazers","contributors_url":"https://api.github.com/repos/osdc/osdc-bot/contributors","subscribers_url":"https://api.github.com/repos/osdc/osdc-bot/subscribers","subscription_url":"https://api.github.com/repos/osdc/osdc-bot/subscription","commits_url":"https://api.github.com/repos/osdc/osdc-bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/osdc/osdc-bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/osdc/osdc-bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/osdc/osdc-bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/osdc/osdc-bot/contents/{+path}","compare_url":"https://api.github.com/repos/osdc/osdc-bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osdc/osdc-bot/merges","archive_url":"https://api.github.com/repos/osdc/osdc-bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osdc/osdc-bot/downloads","issues_url":"https://api.github.com/repos/osdc/osdc-bot/issues{/number}","pulls_url":"https://api.github.com/repos/osdc/osdc-bot/pulls{/number}","milestones_url":"https://api.github.com/repos/osdc/osdc-bot/milestones{/number}","notifications_url":"https://api.github.com/repos/osdc/osdc-bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osdc/osdc-bot/labels{/name}","releases_url":"https://api.github.com/repos/osdc/osdc-bot/releases{/id}","deployments_url":"https://api.github.com/repos/osdc/osdc-bot/deployments","created_at":"2016-09-02T07:40:24Z","updated_at":"2016-09-02T07:42:36Z","pushed_at":"2016-09-04T19:47:08Z","git_url":"git://github.com/osdc/osdc-bot.git","ssh_url":"git@github.com:osdc/osdc-bot.git","clone_url":"https://github.com/osdc/osdc-bot.git","svn_url":"https://github.com/osdc/osdc-bot","homepage":null,"size":28,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":4,"forks":9,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/osdc/osdc-bot/pulls/7"},"html":{"href":"https://github.com/osdc/osdc-bot/pull/7"},"issue":{"href":"https://api.github.com/repos/osdc/osdc-bot/issues/7"},"comments":{"href":"https://api.github.com/repos/osdc/osdc-bot/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/osdc/osdc-bot/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/osdc/osdc-bot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/osdc/osdc-bot/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/osdc/osdc-bot/statuses/59abed9efb684310509c962992c9b92af64021c2"}}}}
{"actor":{"display_login":"526avijitgupta"}}