{"action":"created","comment":{"url":"https://api.github.com/repos/ribot/courier/pulls/comments/47360421","id":47360421,"diff_hunk":"@@ -53,6 +58,11 @@ function sendLeaderboardToSlack( job, leaderboard ) {\n  * Create message\n  */\n function createMessage( activity ) {\n+\n+  if (activity === null) {","path":"app/lib/slack.js","position":17,"original_position":17,"commit_id":"06cd535add56c910535e17c4e4f133ae40639a9e","original_commit_id":"06cd535add56c910535e17c4e4f133ae40639a9e","user":{"login":"hitherejoe","id":3879281,"avatar_url":"https://avatars.githubusercontent.com/u/3879281?v=3","gravatar_id":"","url":"https://api.github.com/users/hitherejoe","html_url":"https://github.com/hitherejoe","followers_url":"https://api.github.com/users/hitherejoe/followers","following_url":"https://api.github.com/users/hitherejoe/following{/other_user}","gists_url":"https://api.github.com/users/hitherejoe/gists{/gist_id}","starred_url":"https://api.github.com/users/hitherejoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hitherejoe/subscriptions","organizations_url":"https://api.github.com/users/hitherejoe/orgs","repos_url":"https://api.github.com/users/hitherejoe/repos","events_url":"https://api.github.com/users/hitherejoe/events{/privacy}","received_events_url":"https://api.github.com/users/hitherejoe/received_events","type":"User","site_admin":false},"body":"oops yea this shouldn't be here","created_at":"2015-12-11T14:35:31Z","updated_at":"2015-12-11T14:35:31Z","html_url":"https://github.com/ribot/courier/pull/21#discussion_r47360421","pull_request_url":"https://api.github.com/repos/ribot/courier/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/ribot/courier/pulls/comments/47360421"},"html":{"href":"https://github.com/ribot/courier/pull/21#discussion_r47360421"},"pull_request":{"href":"https://api.github.com/repos/ribot/courier/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/ribot/courier/pulls/21","id":53138166,"html_url":"https://github.com/ribot/courier/pull/21","diff_url":"https://github.com/ribot/courier/pull/21.diff","patch_url":"https://github.com/ribot/courier/pull/21.patch","issue_url":"https://api.github.com/repos/ribot/courier/issues/21","number":21,"state":"open","locked":false,"title":"Test slack functionality","user":{"login":"hitherejoe","id":3879281,"avatar_url":"https://avatars.githubusercontent.com/u/3879281?v=3","gravatar_id":"","url":"https://api.github.com/users/hitherejoe","html_url":"https://github.com/hitherejoe","followers_url":"https://api.github.com/users/hitherejoe/followers","following_url":"https://api.github.com/users/hitherejoe/following{/other_user}","gists_url":"https://api.github.com/users/hitherejoe/gists{/gist_id}","starred_url":"https://api.github.com/users/hitherejoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hitherejoe/subscriptions","organizations_url":"https://api.github.com/users/hitherejoe/orgs","repos_url":"https://api.github.com/users/hitherejoe/repos","events_url":"https://api.github.com/users/hitherejoe/events{/privacy}","received_events_url":"https://api.github.com/users/hitherejoe/received_events","type":"User","site_admin":false},"body":"- Added tests for slack related tasks\r\n- Removed display of run start time in displayed message","created_at":"2015-12-09T15:59:35Z","updated_at":"2015-12-11T14:35:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8153ba675f96ce819c42bcaca6f1a1c5b2ebca21","assignee":{"login":"hitherejoe","id":3879281,"avatar_url":"https://avatars.githubusercontent.com/u/3879281?v=3","gravatar_id":"","url":"https://api.github.com/users/hitherejoe","html_url":"https://github.com/hitherejoe","followers_url":"https://api.github.com/users/hitherejoe/followers","following_url":"https://api.github.com/users/hitherejoe/following{/other_user}","gists_url":"https://api.github.com/users/hitherejoe/gists{/gist_id}","starred_url":"https://api.github.com/users/hitherejoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hitherejoe/subscriptions","organizations_url":"https://api.github.com/users/hitherejoe/orgs","repos_url":"https://api.github.com/users/hitherejoe/repos","events_url":"https://api.github.com/users/hitherejoe/events{/privacy}","received_events_url":"https://api.github.com/users/hitherejoe/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/ribot/courier/pulls/21/commits","review_comments_url":"https://api.github.com/repos/ribot/courier/pulls/21/comments","review_comment_url":"https://api.github.com/repos/ribot/courier/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ribot/courier/issues/21/comments","statuses_url":"https://api.github.com/repos/ribot/courier/statuses/06cd535add56c910535e17c4e4f133ae40639a9e","head":{"label":"ribot:tests_slack","ref":"tests_slack","sha":"06cd535add56c910535e17c4e4f133ae40639a9e","user":{"login":"ribot","id":26924,"avatar_url":"https://avatars.githubusercontent.com/u/26924?v=3","gravatar_id":"","url":"https://api.github.com/users/ribot","html_url":"https://github.com/ribot","followers_url":"https://api.github.com/users/ribot/followers","following_url":"https://api.github.com/users/ribot/following{/other_user}","gists_url":"https://api.github.com/users/ribot/gists{/gist_id}","starred_url":"https://api.github.com/users/ribot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ribot/subscriptions","organizations_url":"https://api.github.com/users/ribot/orgs","repos_url":"https://api.github.com/users/ribot/repos","events_url":"https://api.github.com/users/ribot/events{/privacy}","received_events_url":"https://api.github.com/users/ribot/received_events","type":"Organization","site_admin":false},"repo":{"id":42294272,"name":"courier","full_name":"ribot/courier","owner":{"login":"ribot","id":26924,"avatar_url":"https://avatars.githubusercontent.com/u/26924?v=3","gravatar_id":"","url":"https://api.github.com/users/ribot","html_url":"https://github.com/ribot","followers_url":"https://api.github.com/users/ribot/followers","following_url":"https://api.github.com/users/ribot/following{/other_user}","gists_url":"https://api.github.com/users/ribot/gists{/gist_id}","starred_url":"https://api.github.com/users/ribot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ribot/subscriptions","organizations_url":"https://api.github.com/users/ribot/orgs","repos_url":"https://api.github.com/users/ribot/repos","events_url":"https://api.github.com/users/ribot/events{/privacy}","received_events_url":"https://api.github.com/users/ribot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ribot/courier","description":"A simple slackbot to post the ribot club runs to the #running slack channel","fork":false,"url":"https://api.github.com/repos/ribot/courier","forks_url":"https://api.github.com/repos/ribot/courier/forks","keys_url":"https://api.github.com/repos/ribot/courier/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ribot/courier/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ribot/courier/teams","hooks_url":"https://api.github.com/repos/ribot/courier/hooks","issue_events_url":"https://api.github.com/repos/ribot/courier/issues/events{/number}","events_url":"https://api.github.com/repos/ribot/courier/events","assignees_url":"https://api.github.com/repos/ribot/courier/assignees{/user}","branches_url":"https://api.github.com/repos/ribot/courier/branches{/branch}","tags_url":"https://api.github.com/repos/ribot/courier/tags","blobs_url":"https://api.github.com/repos/ribot/courier/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ribot/courier/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ribot/courier/git/refs{/sha}","trees_url":"https://api.github.com/repos/ribot/courier/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ribot/courier/statuses/{sha}","languages_url":"https://api.github.com/repos/ribot/courier/languages","stargazers_url":"https://api.github.com/repos/ribot/courier/stargazers","contributors_url":"https://api.github.com/repos/ribot/courier/contributors","subscribers_url":"https://api.github.com/repos/ribot/courier/subscribers","subscription_url":"https://api.github.com/repos/ribot/courier/subscription","commits_url":"https://api.github.com/repos/ribot/courier/commits{/sha}","git_commits_url":"https://api.github.com/repos/ribot/courier/git/commits{/sha}","comments_url":"https://api.github.com/repos/ribot/courier/comments{/number}","issue_comment_url":"https://api.github.com/repos/ribot/courier/issues/comments{/number}","contents_url":"https://api.github.com/repos/ribot/courier/contents/{+path}","compare_url":"https://api.github.com/repos/ribot/courier/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ribot/courier/merges","archive_url":"https://api.github.com/repos/ribot/courier/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ribot/courier/downloads","issues_url":"https://api.github.com/repos/ribot/courier/issues{/number}","pulls_url":"https://api.github.com/repos/ribot/courier/pulls{/number}","milestones_url":"https://api.github.com/repos/ribot/courier/milestones{/number}","notifications_url":"https://api.github.com/repos/ribot/courier/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ribot/courier/labels{/name}","releases_url":"https://api.github.com/repos/ribot/courier/releases{/id}","created_at":"2015-09-11T07:29:54Z","updated_at":"2015-10-08T11:18:05Z","pushed_at":"2015-12-11T13:53:21Z","git_url":"git://github.com/ribot/courier.git","ssh_url":"git@github.com:ribot/courier.git","clone_url":"https://github.com/ribot/courier.git","svn_url":"https://github.com/ribot/courier","homepage":null,"size":2543,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"ribot:master","ref":"master","sha":"eec1c6dca3cb72b433c5c0b82dba22fffb0ed29c","user":{"login":"ribot","id":26924,"avatar_url":"https://avatars.githubusercontent.com/u/26924?v=3","gravatar_id":"","url":"https://api.github.com/users/ribot","html_url":"https://github.com/ribot","followers_url":"https://api.github.com/users/ribot/followers","following_url":"https://api.github.com/users/ribot/following{/other_user}","gists_url":"https://api.github.com/users/ribot/gists{/gist_id}","starred_url":"https://api.github.com/users/ribot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ribot/subscriptions","organizations_url":"https://api.github.com/users/ribot/orgs","repos_url":"https://api.github.com/users/ribot/repos","events_url":"https://api.github.com/users/ribot/events{/privacy}","received_events_url":"https://api.github.com/users/ribot/received_events","type":"Organization","site_admin":false},"repo":{"id":42294272,"name":"courier","full_name":"ribot/courier","owner":{"login":"ribot","id":26924,"avatar_url":"https://avatars.githubusercontent.com/u/26924?v=3","gravatar_id":"","url":"https://api.github.com/users/ribot","html_url":"https://github.com/ribot","followers_url":"https://api.github.com/users/ribot/followers","following_url":"https://api.github.com/users/ribot/following{/other_user}","gists_url":"https://api.github.com/users/ribot/gists{/gist_id}","starred_url":"https://api.github.com/users/ribot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ribot/subscriptions","organizations_url":"https://api.github.com/users/ribot/orgs","repos_url":"https://api.github.com/users/ribot/repos","events_url":"https://api.github.com/users/ribot/events{/privacy}","received_events_url":"https://api.github.com/users/ribot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ribot/courier","description":"A simple slackbot to post the ribot club runs to the #running slack channel","fork":false,"url":"https://api.github.com/repos/ribot/courier","forks_url":"https://api.github.com/repos/ribot/courier/forks","keys_url":"https://api.github.com/repos/ribot/courier/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ribot/courier/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ribot/courier/teams","hooks_url":"https://api.github.com/repos/ribot/courier/hooks","issue_events_url":"https://api.github.com/repos/ribot/courier/issues/events{/number}","events_url":"https://api.github.com/repos/ribot/courier/events","assignees_url":"https://api.github.com/repos/ribot/courier/assignees{/user}","branches_url":"https://api.github.com/repos/ribot/courier/branches{/branch}","tags_url":"https://api.github.com/repos/ribot/courier/tags","blobs_url":"https://api.github.com/repos/ribot/courier/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ribot/courier/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ribot/courier/git/refs{/sha}","trees_url":"https://api.github.com/repos/ribot/courier/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ribot/courier/statuses/{sha}","languages_url":"https://api.github.com/repos/ribot/courier/languages","stargazers_url":"https://api.github.com/repos/ribot/courier/stargazers","contributors_url":"https://api.github.com/repos/ribot/courier/contributors","subscribers_url":"https://api.github.com/repos/ribot/courier/subscribers","subscription_url":"https://api.github.com/repos/ribot/courier/subscription","commits_url":"https://api.github.com/repos/ribot/courier/commits{/sha}","git_commits_url":"https://api.github.com/repos/ribot/courier/git/commits{/sha}","comments_url":"https://api.github.com/repos/ribot/courier/comments{/number}","issue_comment_url":"https://api.github.com/repos/ribot/courier/issues/comments{/number}","contents_url":"https://api.github.com/repos/ribot/courier/contents/{+path}","compare_url":"https://api.github.com/repos/ribot/courier/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ribot/courier/merges","archive_url":"https://api.github.com/repos/ribot/courier/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ribot/courier/downloads","issues_url":"https://api.github.com/repos/ribot/courier/issues{/number}","pulls_url":"https://api.github.com/repos/ribot/courier/pulls{/number}","milestones_url":"https://api.github.com/repos/ribot/courier/milestones{/number}","notifications_url":"https://api.github.com/repos/ribot/courier/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ribot/courier/labels{/name}","releases_url":"https://api.github.com/repos/ribot/courier/releases{/id}","created_at":"2015-09-11T07:29:54Z","updated_at":"2015-10-08T11:18:05Z","pushed_at":"2015-12-11T13:53:21Z","git_url":"git://github.com/ribot/courier.git","ssh_url":"git@github.com:ribot/courier.git","clone_url":"https://github.com/ribot/courier.git","svn_url":"https://github.com/ribot/courier","homepage":null,"size":2543,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ribot/courier/pulls/21"},"html":{"href":"https://github.com/ribot/courier/pull/21"},"issue":{"href":"https://api.github.com/repos/ribot/courier/issues/21"},"comments":{"href":"https://api.github.com/repos/ribot/courier/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/ribot/courier/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/ribot/courier/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ribot/courier/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/ribot/courier/statuses/06cd535add56c910535e17c4e4f133ae40639a9e"}}}}