{"action":"created","comment":{"url":"https://api.github.com/repos/AgileVentures/agile-bot/pulls/comments/52758391","id":52758391,"diff_hunk":"@@ -82,14 +113,20 @@ module.exports = (robot) ->\n     # host_avatar = https://www.gravatar.com/avatar/fsd87fgds87f4387\n \n     user = name: req.body.host_name, avatar: req.body.host_avatar\n-    send_message CHANNELS.general, \"#{req.body.title}: #{req.body.link}\", user\n \n     if req.body.type == \"Scrum\"\n-      send_message CHANNELS.standup_notifications, \"@channel #{req.body.title}: #{req.body.link}\", user\n+      send_slack_message CHANNELS.general, \"#{req.body.title}: #{req.body.link}\", user\n+      send_slack_message CHANNELS.standup_notifications, \"@channel #{req.body.title}: #{req.body.link}\", user\n     else if req.body.type == \"PairProgramming\"\n       room = find_project_for_hangout(req.body.title.toLowerCase())\n-      send_message CHANNELS.pairing_notifications, \"@channel #{req.body.title}: #{req.body.link}\", user\n-      send_message room, \"#{req.body.title}: #{req.body.link}\", user\n+\n+      if room == CHANNELS.sass or room == CHANNELS.cs169","path":"scripts/av-hangouts-notifications.coffee","position":96,"original_position":96,"commit_id":"5f049073eb24919c3a2b73fd3e3aca924809b1c8","original_commit_id":"5f049073eb24919c3a2b73fd3e3aca924809b1c8","user":{"login":"sampritipanda","id":1736001,"avatar_url":"https://avatars.githubusercontent.com/u/1736001?v=3","gravatar_id":"","url":"https://api.github.com/users/sampritipanda","html_url":"https://github.com/sampritipanda","followers_url":"https://api.github.com/users/sampritipanda/followers","following_url":"https://api.github.com/users/sampritipanda/following{/other_user}","gists_url":"https://api.github.com/users/sampritipanda/gists{/gist_id}","starred_url":"https://api.github.com/users/sampritipanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampritipanda/subscriptions","organizations_url":"https://api.github.com/users/sampritipanda/orgs","repos_url":"https://api.github.com/users/sampritipanda/repos","events_url":"https://api.github.com/users/sampritipanda/events{/privacy}","received_events_url":"https://api.github.com/users/sampritipanda/received_events","type":"User","site_admin":false},"body":"In Coffeescript, `or` gets replaced by `||` during compilation.\r\n\r\nAnd yes, it the title has \"saas\" or \"cs169\" in the title, it will be posted to gitter.","created_at":"2016-02-12T15:57:03Z","updated_at":"2016-02-12T15:57:03Z","html_url":"https://github.com/AgileVentures/agile-bot/pull/8#discussion_r52758391","pull_request_url":"https://api.github.com/repos/AgileVentures/agile-bot/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/agile-bot/pulls/comments/52758391"},"html":{"href":"https://github.com/AgileVentures/agile-bot/pull/8#discussion_r52758391"},"pull_request":{"href":"https://api.github.com/repos/AgileVentures/agile-bot/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/AgileVentures/agile-bot/pulls/8","id":59073738,"html_url":"https://github.com/AgileVentures/agile-bot/pull/8","diff_url":"https://github.com/AgileVentures/agile-bot/pull/8.diff","patch_url":"https://github.com/AgileVentures/agile-bot/pull/8.patch","issue_url":"https://api.github.com/repos/AgileVentures/agile-bot/issues/8","number":8,"state":"open","locked":false,"title":"Integrate Gitter Notifications for CS169 Hangouts","user":{"login":"sampritipanda","id":1736001,"avatar_url":"https://avatars.githubusercontent.com/u/1736001?v=3","gravatar_id":"","url":"https://api.github.com/users/sampritipanda","html_url":"https://github.com/sampritipanda","followers_url":"https://api.github.com/users/sampritipanda/followers","following_url":"https://api.github.com/users/sampritipanda/following{/other_user}","gists_url":"https://api.github.com/users/sampritipanda/gists{/gist_id}","starred_url":"https://api.github.com/users/sampritipanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampritipanda/subscriptions","organizations_url":"https://api.github.com/users/sampritipanda/orgs","repos_url":"https://api.github.com/users/sampritipanda/repos","events_url":"https://api.github.com/users/sampritipanda/events{/privacy}","received_events_url":"https://api.github.com/users/sampritipanda/received_events","type":"User","site_admin":false},"body":"fixes #3 ","created_at":"2016-02-11T18:33:57Z","updated_at":"2016-02-12T15:57:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3124fe96af975169f305ff87d9b12ac9b2ed82f2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AgileVentures/agile-bot/pulls/8/commits","review_comments_url":"https://api.github.com/repos/AgileVentures/agile-bot/pulls/8/comments","review_comment_url":"https://api.github.com/repos/AgileVentures/agile-bot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AgileVentures/agile-bot/issues/8/comments","statuses_url":"https://api.github.com/repos/AgileVentures/agile-bot/statuses/5f049073eb24919c3a2b73fd3e3aca924809b1c8","head":{"label":"sampritipanda:gitter_integration","ref":"gitter_integration","sha":"5f049073eb24919c3a2b73fd3e3aca924809b1c8","user":{"login":"sampritipanda","id":1736001,"avatar_url":"https://avatars.githubusercontent.com/u/1736001?v=3","gravatar_id":"","url":"https://api.github.com/users/sampritipanda","html_url":"https://github.com/sampritipanda","followers_url":"https://api.github.com/users/sampritipanda/followers","following_url":"https://api.github.com/users/sampritipanda/following{/other_user}","gists_url":"https://api.github.com/users/sampritipanda/gists{/gist_id}","starred_url":"https://api.github.com/users/sampritipanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampritipanda/subscriptions","organizations_url":"https://api.github.com/users/sampritipanda/orgs","repos_url":"https://api.github.com/users/sampritipanda/repos","events_url":"https://api.github.com/users/sampritipanda/events{/privacy}","received_events_url":"https://api.github.com/users/sampritipanda/received_events","type":"User","site_admin":false},"repo":{"id":20260737,"name":"agile-bot","full_name":"sampritipanda/agile-bot","owner":{"login":"sampritipanda","id":1736001,"avatar_url":"https://avatars.githubusercontent.com/u/1736001?v=3","gravatar_id":"","url":"https://api.github.com/users/sampritipanda","html_url":"https://github.com/sampritipanda","followers_url":"https://api.github.com/users/sampritipanda/followers","following_url":"https://api.github.com/users/sampritipanda/following{/other_user}","gists_url":"https://api.github.com/users/sampritipanda/gists{/gist_id}","starred_url":"https://api.github.com/users/sampritipanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampritipanda/subscriptions","organizations_url":"https://api.github.com/users/sampritipanda/orgs","repos_url":"https://api.github.com/users/sampritipanda/repos","events_url":"https://api.github.com/users/sampritipanda/events{/privacy}","received_events_url":"https://api.github.com/users/sampritipanda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sampritipanda/agile-bot","description":"A Hubot for AgileVentures Slack","fork":false,"url":"https://api.github.com/repos/sampritipanda/agile-bot","forks_url":"https://api.github.com/repos/sampritipanda/agile-bot/forks","keys_url":"https://api.github.com/repos/sampritipanda/agile-bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sampritipanda/agile-bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sampritipanda/agile-bot/teams","hooks_url":"https://api.github.com/repos/sampritipanda/agile-bot/hooks","issue_events_url":"https://api.github.com/repos/sampritipanda/agile-bot/issues/events{/number}","events_url":"https://api.github.com/repos/sampritipanda/agile-bot/events","assignees_url":"https://api.github.com/repos/sampritipanda/agile-bot/assignees{/user}","branches_url":"https://api.github.com/repos/sampritipanda/agile-bot/branches{/branch}","tags_url":"https://api.github.com/repos/sampritipanda/agile-bot/tags","blobs_url":"https://api.github.com/repos/sampritipanda/agile-bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sampritipanda/agile-bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sampritipanda/agile-bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/sampritipanda/agile-bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sampritipanda/agile-bot/statuses/{sha}","languages_url":"https://api.github.com/repos/sampritipanda/agile-bot/languages","stargazers_url":"https://api.github.com/repos/sampritipanda/agile-bot/stargazers","contributors_url":"https://api.github.com/repos/sampritipanda/agile-bot/contributors","subscribers_url":"https://api.github.com/repos/sampritipanda/agile-bot/subscribers","subscription_url":"https://api.github.com/repos/sampritipanda/agile-bot/subscription","commits_url":"https://api.github.com/repos/sampritipanda/agile-bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/sampritipanda/agile-bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/sampritipanda/agile-bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/sampritipanda/agile-bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/sampritipanda/agile-bot/contents/{+path}","compare_url":"https://api.github.com/repos/sampritipanda/agile-bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sampritipanda/agile-bot/merges","archive_url":"https://api.github.com/repos/sampritipanda/agile-bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sampritipanda/agile-bot/downloads","issues_url":"https://api.github.com/repos/sampritipanda/agile-bot/issues{/number}","pulls_url":"https://api.github.com/repos/sampritipanda/agile-bot/pulls{/number}","milestones_url":"https://api.github.com/repos/sampritipanda/agile-bot/milestones{/number}","notifications_url":"https://api.github.com/repos/sampritipanda/agile-bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sampritipanda/agile-bot/labels{/name}","releases_url":"https://api.github.com/repos/sampritipanda/agile-bot/releases{/id}","deployments_url":"https://api.github.com/repos/sampritipanda/agile-bot/deployments","created_at":"2014-05-28T14:33:19Z","updated_at":"2015-05-01T11:06:56Z","pushed_at":"2016-02-11T18:30:10Z","git_url":"git://github.com/sampritipanda/agile-bot.git","ssh_url":"git@github.com:sampritipanda/agile-bot.git","clone_url":"https://github.com/sampritipanda/agile-bot.git","svn_url":"https://github.com/sampritipanda/agile-bot","homepage":null,"size":42,"stargazers_count":2,"watchers_count":2,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"AgileVentures:master","ref":"master","sha":"acac9d8ec43df1b0880c8f57a8448a58ab8c4570","user":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=3","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"repo":{"id":45170477,"name":"agile-bot","full_name":"AgileVentures/agile-bot","owner":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=3","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AgileVentures/agile-bot","description":"A Hubot for AgileVentures Slack","fork":true,"url":"https://api.github.com/repos/AgileVentures/agile-bot","forks_url":"https://api.github.com/repos/AgileVentures/agile-bot/forks","keys_url":"https://api.github.com/repos/AgileVentures/agile-bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AgileVentures/agile-bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AgileVentures/agile-bot/teams","hooks_url":"https://api.github.com/repos/AgileVentures/agile-bot/hooks","issue_events_url":"https://api.github.com/repos/AgileVentures/agile-bot/issues/events{/number}","events_url":"https://api.github.com/repos/AgileVentures/agile-bot/events","assignees_url":"https://api.github.com/repos/AgileVentures/agile-bot/assignees{/user}","branches_url":"https://api.github.com/repos/AgileVentures/agile-bot/branches{/branch}","tags_url":"https://api.github.com/repos/AgileVentures/agile-bot/tags","blobs_url":"https://api.github.com/repos/AgileVentures/agile-bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AgileVentures/agile-bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AgileVentures/agile-bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/AgileVentures/agile-bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AgileVentures/agile-bot/statuses/{sha}","languages_url":"https://api.github.com/repos/AgileVentures/agile-bot/languages","stargazers_url":"https://api.github.com/repos/AgileVentures/agile-bot/stargazers","contributors_url":"https://api.github.com/repos/AgileVentures/agile-bot/contributors","subscribers_url":"https://api.github.com/repos/AgileVentures/agile-bot/subscribers","subscription_url":"https://api.github.com/repos/AgileVentures/agile-bot/subscription","commits_url":"https://api.github.com/repos/AgileVentures/agile-bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/AgileVentures/agile-bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/AgileVentures/agile-bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/AgileVentures/agile-bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/AgileVentures/agile-bot/contents/{+path}","compare_url":"https://api.github.com/repos/AgileVentures/agile-bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AgileVentures/agile-bot/merges","archive_url":"https://api.github.com/repos/AgileVentures/agile-bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AgileVentures/agile-bot/downloads","issues_url":"https://api.github.com/repos/AgileVentures/agile-bot/issues{/number}","pulls_url":"https://api.github.com/repos/AgileVentures/agile-bot/pulls{/number}","milestones_url":"https://api.github.com/repos/AgileVentures/agile-bot/milestones{/number}","notifications_url":"https://api.github.com/repos/AgileVentures/agile-bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AgileVentures/agile-bot/labels{/name}","releases_url":"https://api.github.com/repos/AgileVentures/agile-bot/releases{/id}","deployments_url":"https://api.github.com/repos/AgileVentures/agile-bot/deployments","created_at":"2015-10-29T08:36:35Z","updated_at":"2016-01-18T09:09:14Z","pushed_at":"2016-02-11T18:33:57Z","git_url":"git://github.com/AgileVentures/agile-bot.git","ssh_url":"git@github.com:AgileVentures/agile-bot.git","clone_url":"https://github.com/AgileVentures/agile-bot.git","svn_url":"https://github.com/AgileVentures/agile-bot","homepage":null,"size":42,"stargazers_count":1,"watchers_count":1,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/agile-bot/pulls/8"},"html":{"href":"https://github.com/AgileVentures/agile-bot/pull/8"},"issue":{"href":"https://api.github.com/repos/AgileVentures/agile-bot/issues/8"},"comments":{"href":"https://api.github.com/repos/AgileVentures/agile-bot/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/AgileVentures/agile-bot/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/AgileVentures/agile-bot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AgileVentures/agile-bot/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/AgileVentures/agile-bot/statuses/5f049073eb24919c3a2b73fd3e3aca924809b1c8"}}}}