{"action":"opened","number":83,"pull_request":{"url":"https://api.github.com/repos/FreeCodeCamp/camperbot/pulls/83","id":66727918,"html_url":"https://github.com/FreeCodeCamp/camperbot/pull/83","diff_url":"https://github.com/FreeCodeCamp/camperbot/pull/83.diff","patch_url":"https://github.com/FreeCodeCamp/camperbot/pull/83.patch","issue_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/issues/83","number":83,"state":"open","locked":false,"title":"Thanks command improvement","user":{"login":"abhisekp","id":1029200,"avatar_url":"https://avatars.githubusercontent.com/u/1029200?v=3","gravatar_id":"","url":"https://api.github.com/users/abhisekp","html_url":"https://github.com/abhisekp","followers_url":"https://api.github.com/users/abhisekp/followers","following_url":"https://api.github.com/users/abhisekp/following{/other_user}","gists_url":"https://api.github.com/users/abhisekp/gists{/gist_id}","starred_url":"https://api.github.com/users/abhisekp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhisekp/subscriptions","organizations_url":"https://api.github.com/users/abhisekp/orgs","repos_url":"https://api.github.com/users/abhisekp/repos","events_url":"https://api.github.com/users/abhisekp/events{/privacy}","received_events_url":"https://api.github.com/users/abhisekp/received_events","type":"User","site_admin":false},"body":"Improve thanks method\r\n- Use `lodash`\r\n- Discard non-existing users and self and thank only existing ones  \r\n (which also fixes thanking `@/all` as a bonus)  \r\n i.e. if a user doesn't exist in gitter, then there will be no API calls to thank that user.\r\n\r\nTested in <kbd><a href=\"https://gitter.im/GitterBotX/playground\"><img src=\"http://i.imgur.com/ThSWa6Y.png?2\"> <b>GitterBotX/playground</b></a></kbd>\r\n\r\n> **NOTE:** Added `dedent` module. Please use **`npm install`** to install the new package :package: .","created_at":"2016-04-16T04:47:48Z","updated_at":"2016-04-16T04:47:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1342f49c8d8816ee13e3a1c6ccb7e67a2e1c2c9d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/pulls/83/commits","review_comments_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/pulls/83/comments","review_comment_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/issues/83/comments","statuses_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/statuses/1a1b99e5d9ad4e9f894c7604bea1ed18e1218eeb","head":{"label":"abhisekp:fix/thanks-improvement","ref":"fix/thanks-improvement","sha":"1a1b99e5d9ad4e9f894c7604bea1ed18e1218eeb","user":{"login":"abhisekp","id":1029200,"avatar_url":"https://avatars.githubusercontent.com/u/1029200?v=3","gravatar_id":"","url":"https://api.github.com/users/abhisekp","html_url":"https://github.com/abhisekp","followers_url":"https://api.github.com/users/abhisekp/followers","following_url":"https://api.github.com/users/abhisekp/following{/other_user}","gists_url":"https://api.github.com/users/abhisekp/gists{/gist_id}","starred_url":"https://api.github.com/users/abhisekp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhisekp/subscriptions","organizations_url":"https://api.github.com/users/abhisekp/orgs","repos_url":"https://api.github.com/users/abhisekp/repos","events_url":"https://api.github.com/users/abhisekp/events{/privacy}","received_events_url":"https://api.github.com/users/abhisekp/received_events","type":"User","site_admin":false},"repo":{"id":46604594,"name":"camperbot","full_name":"abhisekp/camperbot","owner":{"login":"abhisekp","id":1029200,"avatar_url":"https://avatars.githubusercontent.com/u/1029200?v=3","gravatar_id":"","url":"https://api.github.com/users/abhisekp","html_url":"https://github.com/abhisekp","followers_url":"https://api.github.com/users/abhisekp/followers","following_url":"https://api.github.com/users/abhisekp/following{/other_user}","gists_url":"https://api.github.com/users/abhisekp/gists{/gist_id}","starred_url":"https://api.github.com/users/abhisekp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhisekp/subscriptions","organizations_url":"https://api.github.com/users/abhisekp/orgs","repos_url":"https://api.github.com/users/abhisekp/repos","events_url":"https://api.github.com/users/abhisekp/events{/privacy}","received_events_url":"https://api.github.com/users/abhisekp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abhisekp/camperbot","description":"Finally, robotic beings rule the world.","fork":true,"url":"https://api.github.com/repos/abhisekp/camperbot","forks_url":"https://api.github.com/repos/abhisekp/camperbot/forks","keys_url":"https://api.github.com/repos/abhisekp/camperbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abhisekp/camperbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abhisekp/camperbot/teams","hooks_url":"https://api.github.com/repos/abhisekp/camperbot/hooks","issue_events_url":"https://api.github.com/repos/abhisekp/camperbot/issues/events{/number}","events_url":"https://api.github.com/repos/abhisekp/camperbot/events","assignees_url":"https://api.github.com/repos/abhisekp/camperbot/assignees{/user}","branches_url":"https://api.github.com/repos/abhisekp/camperbot/branches{/branch}","tags_url":"https://api.github.com/repos/abhisekp/camperbot/tags","blobs_url":"https://api.github.com/repos/abhisekp/camperbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abhisekp/camperbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abhisekp/camperbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/abhisekp/camperbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abhisekp/camperbot/statuses/{sha}","languages_url":"https://api.github.com/repos/abhisekp/camperbot/languages","stargazers_url":"https://api.github.com/repos/abhisekp/camperbot/stargazers","contributors_url":"https://api.github.com/repos/abhisekp/camperbot/contributors","subscribers_url":"https://api.github.com/repos/abhisekp/camperbot/subscribers","subscription_url":"https://api.github.com/repos/abhisekp/camperbot/subscription","commits_url":"https://api.github.com/repos/abhisekp/camperbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/abhisekp/camperbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/abhisekp/camperbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/abhisekp/camperbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/abhisekp/camperbot/contents/{+path}","compare_url":"https://api.github.com/repos/abhisekp/camperbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abhisekp/camperbot/merges","archive_url":"https://api.github.com/repos/abhisekp/camperbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abhisekp/camperbot/downloads","issues_url":"https://api.github.com/repos/abhisekp/camperbot/issues{/number}","pulls_url":"https://api.github.com/repos/abhisekp/camperbot/pulls{/number}","milestones_url":"https://api.github.com/repos/abhisekp/camperbot/milestones{/number}","notifications_url":"https://api.github.com/repos/abhisekp/camperbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abhisekp/camperbot/labels{/name}","releases_url":"https://api.github.com/repos/abhisekp/camperbot/releases{/id}","deployments_url":"https://api.github.com/repos/abhisekp/camperbot/deployments","created_at":"2015-11-21T06:47:18Z","updated_at":"2016-01-12T23:47:01Z","pushed_at":"2016-04-16T04:39:22Z","git_url":"git://github.com/abhisekp/camperbot.git","ssh_url":"git@github.com:abhisekp/camperbot.git","clone_url":"https://github.com/abhisekp/camperbot.git","svn_url":"https://github.com/abhisekp/camperbot","homepage":null,"size":13481,"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":"FreeCodeCamp:master","ref":"master","sha":"fd18049800bb76ff32c474db1f662d88223abf6b","user":{"login":"FreeCodeCamp","id":9892522,"avatar_url":"https://avatars.githubusercontent.com/u/9892522?v=3","gravatar_id":"","url":"https://api.github.com/users/FreeCodeCamp","html_url":"https://github.com/FreeCodeCamp","followers_url":"https://api.github.com/users/FreeCodeCamp/followers","following_url":"https://api.github.com/users/FreeCodeCamp/following{/other_user}","gists_url":"https://api.github.com/users/FreeCodeCamp/gists{/gist_id}","starred_url":"https://api.github.com/users/FreeCodeCamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreeCodeCamp/subscriptions","organizations_url":"https://api.github.com/users/FreeCodeCamp/orgs","repos_url":"https://api.github.com/users/FreeCodeCamp/repos","events_url":"https://api.github.com/users/FreeCodeCamp/events{/privacy}","received_events_url":"https://api.github.com/users/FreeCodeCamp/received_events","type":"Organization","site_admin":false},"repo":{"id":45865979,"name":"camperbot","full_name":"FreeCodeCamp/camperbot","owner":{"login":"FreeCodeCamp","id":9892522,"avatar_url":"https://avatars.githubusercontent.com/u/9892522?v=3","gravatar_id":"","url":"https://api.github.com/users/FreeCodeCamp","html_url":"https://github.com/FreeCodeCamp","followers_url":"https://api.github.com/users/FreeCodeCamp/followers","following_url":"https://api.github.com/users/FreeCodeCamp/following{/other_user}","gists_url":"https://api.github.com/users/FreeCodeCamp/gists{/gist_id}","starred_url":"https://api.github.com/users/FreeCodeCamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreeCodeCamp/subscriptions","organizations_url":"https://api.github.com/users/FreeCodeCamp/orgs","repos_url":"https://api.github.com/users/FreeCodeCamp/repos","events_url":"https://api.github.com/users/FreeCodeCamp/events{/privacy}","received_events_url":"https://api.github.com/users/FreeCodeCamp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FreeCodeCamp/camperbot","description":"Finally, robotic beings rule the world.","fork":false,"url":"https://api.github.com/repos/FreeCodeCamp/camperbot","forks_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/forks","keys_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/teams","hooks_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/hooks","issue_events_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/issues/events{/number}","events_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/events","assignees_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/assignees{/user}","branches_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/branches{/branch}","tags_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/tags","blobs_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/statuses/{sha}","languages_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/languages","stargazers_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/stargazers","contributors_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/contributors","subscribers_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/subscribers","subscription_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/subscription","commits_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/contents/{+path}","compare_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/merges","archive_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/downloads","issues_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/issues{/number}","pulls_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/pulls{/number}","milestones_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/milestones{/number}","notifications_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/labels{/name}","releases_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/releases{/id}","deployments_url":"https://api.github.com/repos/FreeCodeCamp/camperbot/deployments","created_at":"2015-11-09T20:51:58Z","updated_at":"2016-04-13T03:40:15Z","pushed_at":"2016-04-16T04:47:49Z","git_url":"git://github.com/FreeCodeCamp/camperbot.git","ssh_url":"git@github.com:FreeCodeCamp/camperbot.git","clone_url":"https://github.com/FreeCodeCamp/camperbot.git","svn_url":"https://github.com/FreeCodeCamp/camperbot","homepage":null,"size":15529,"stargazers_count":34,"watchers_count":34,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":25,"mirror_url":null,"open_issues_count":18,"forks":25,"open_issues":18,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FreeCodeCamp/camperbot/pulls/83"},"html":{"href":"https://github.com/FreeCodeCamp/camperbot/pull/83"},"issue":{"href":"https://api.github.com/repos/FreeCodeCamp/camperbot/issues/83"},"comments":{"href":"https://api.github.com/repos/FreeCodeCamp/camperbot/issues/83/comments"},"review_comments":{"href":"https://api.github.com/repos/FreeCodeCamp/camperbot/pulls/83/comments"},"review_comment":{"href":"https://api.github.com/repos/FreeCodeCamp/camperbot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FreeCodeCamp/camperbot/pulls/83/commits"},"statuses":{"href":"https://api.github.com/repos/FreeCodeCamp/camperbot/statuses/1a1b99e5d9ad4e9f894c7604bea1ed18e1218eeb"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":53,"deletions":24,"changed_files":2}}