{"action":"created","comment":{"url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/pulls/comments/215965022","pull_request_review_id":153349247,"id":215965022,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTk2NTAyMg==","diff_hunk":"@@ -208,26 +208,45 @@\n         return QUOTES[(Math.random() * QUOTES.length) >> 0];\n     }\n \n+    /**\n+     * Form a reminder message\n+     *\n+     * @returns {string}\n+     */\n+     function formReminderMessage(users, targetDay, amountOfTime) {\n+        let userNames, userNamesString, toBe, when, message;\n+\n+        userNames = users.map(user => user.name);\n+        userNamesString = userNames.map(name => `@${name}`).join(', ');","path":"src/birthder.js","position":13,"original_position":13,"commit_id":"ba6751d85da8e53012666fd717024cab302d7ca1","original_commit_id":"ba6751d85da8e53012666fd717024cab302d7ca1","user":{"login":"eugulixes","id":5358223,"node_id":"MDQ6VXNlcjUzNTgyMjM=","avatar_url":"https://avatars2.githubusercontent.com/u/5358223?v=4","gravatar_id":"","url":"https://api.github.com/users/eugulixes","html_url":"https://github.com/eugulixes","followers_url":"https://api.github.com/users/eugulixes/followers","following_url":"https://api.github.com/users/eugulixes/following{/other_user}","gists_url":"https://api.github.com/users/eugulixes/gists{/gist_id}","starred_url":"https://api.github.com/users/eugulixes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugulixes/subscriptions","organizations_url":"https://api.github.com/users/eugulixes/orgs","repos_url":"https://api.github.com/users/eugulixes/repos","events_url":"https://api.github.com/users/eugulixes/events{/privacy}","received_events_url":"https://api.github.com/users/eugulixes/received_events","type":"User","site_admin":false},"body":"Let's name it `commaSeparatedUsernames`.","created_at":"2018-09-07T13:50:58Z","updated_at":"2018-09-07T13:53:10Z","html_url":"https://github.com/tolstoyevsky/hubot-happy-birthder/pull/69#discussion_r215965022","pull_request_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/pulls/69","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/pulls/comments/215965022"},"html":{"href":"https://github.com/tolstoyevsky/hubot-happy-birthder/pull/69#discussion_r215965022"},"pull_request":{"href":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/pulls/69"}}},"pull_request":{"url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/pulls/69","id":213922937,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzOTIyOTM3","html_url":"https://github.com/tolstoyevsky/hubot-happy-birthder/pull/69","diff_url":"https://github.com/tolstoyevsky/hubot-happy-birthder/pull/69.diff","patch_url":"https://github.com/tolstoyevsky/hubot-happy-birthder/pull/69.patch","issue_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/issues/69","number":69,"state":"open","locked":false,"title":"Users can receive reminders if they have birthday in the same day","user":{"login":"polina-popova","id":42995454,"node_id":"MDQ6VXNlcjQyOTk1NDU0","avatar_url":"https://avatars3.githubusercontent.com/u/42995454?v=4","gravatar_id":"","url":"https://api.github.com/users/polina-popova","html_url":"https://github.com/polina-popova","followers_url":"https://api.github.com/users/polina-popova/followers","following_url":"https://api.github.com/users/polina-popova/following{/other_user}","gists_url":"https://api.github.com/users/polina-popova/gists{/gist_id}","starred_url":"https://api.github.com/users/polina-popova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polina-popova/subscriptions","organizations_url":"https://api.github.com/users/polina-popova/orgs","repos_url":"https://api.github.com/users/polina-popova/repos","events_url":"https://api.github.com/users/polina-popova/events{/privacy}","received_events_url":"https://api.github.com/users/polina-popova/received_events","type":"User","site_admin":false},"body":"Closes #59. ","created_at":"2018-09-07T13:08:50Z","updated_at":"2018-09-07T13:53:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"780d7019bcbb96785a4cf7ec4d2e77b1de009c71","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/pulls/69/commits","review_comments_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/pulls/69/comments","review_comment_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/issues/69/comments","statuses_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/statuses/ba6751d85da8e53012666fd717024cab302d7ca1","head":{"label":"tolstoyevsky:fix-issue-59","ref":"fix-issue-59","sha":"ba6751d85da8e53012666fd717024cab302d7ca1","user":{"login":"tolstoyevsky","id":5354708,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzNTQ3MDg=","avatar_url":"https://avatars0.githubusercontent.com/u/5354708?v=4","gravatar_id":"","url":"https://api.github.com/users/tolstoyevsky","html_url":"https://github.com/tolstoyevsky","followers_url":"https://api.github.com/users/tolstoyevsky/followers","following_url":"https://api.github.com/users/tolstoyevsky/following{/other_user}","gists_url":"https://api.github.com/users/tolstoyevsky/gists{/gist_id}","starred_url":"https://api.github.com/users/tolstoyevsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tolstoyevsky/subscriptions","organizations_url":"https://api.github.com/users/tolstoyevsky/orgs","repos_url":"https://api.github.com/users/tolstoyevsky/repos","events_url":"https://api.github.com/users/tolstoyevsky/events{/privacy}","received_events_url":"https://api.github.com/users/tolstoyevsky/received_events","type":"Organization","site_admin":false},"repo":{"id":139722713,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk3MjI3MTM=","name":"hubot-happy-birthder","full_name":"tolstoyevsky/hubot-happy-birthder","owner":{"login":"tolstoyevsky","id":5354708,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzNTQ3MDg=","avatar_url":"https://avatars0.githubusercontent.com/u/5354708?v=4","gravatar_id":"","url":"https://api.github.com/users/tolstoyevsky","html_url":"https://github.com/tolstoyevsky","followers_url":"https://api.github.com/users/tolstoyevsky/followers","following_url":"https://api.github.com/users/tolstoyevsky/following{/other_user}","gists_url":"https://api.github.com/users/tolstoyevsky/gists{/gist_id}","starred_url":"https://api.github.com/users/tolstoyevsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tolstoyevsky/subscriptions","organizations_url":"https://api.github.com/users/tolstoyevsky/orgs","repos_url":"https://api.github.com/users/tolstoyevsky/repos","events_url":"https://api.github.com/users/tolstoyevsky/events{/privacy}","received_events_url":"https://api.github.com/users/tolstoyevsky/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tolstoyevsky/hubot-happy-birthder","description":"Hubot script for writing birthday messages to users","fork":false,"url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder","forks_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/forks","keys_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/teams","hooks_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/hooks","issue_events_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/issues/events{/number}","events_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/events","assignees_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/assignees{/user}","branches_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/branches{/branch}","tags_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/tags","blobs_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/git/refs{/sha}","trees_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/statuses/{sha}","languages_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/languages","stargazers_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/stargazers","contributors_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/contributors","subscribers_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/subscribers","subscription_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/subscription","commits_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/commits{/sha}","git_commits_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/git/commits{/sha}","comments_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/comments{/number}","issue_comment_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/issues/comments{/number}","contents_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/contents/{+path}","compare_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/merges","archive_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/downloads","issues_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/issues{/number}","pulls_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/pulls{/number}","milestones_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/milestones{/number}","notifications_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/labels{/name}","releases_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/releases{/id}","deployments_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/deployments","created_at":"2018-07-04T13:00:45Z","updated_at":"2018-09-07T09:27:10Z","pushed_at":"2018-09-07T13:27:41Z","git_url":"git://github.com/tolstoyevsky/hubot-happy-birthder.git","ssh_url":"git@github.com:tolstoyevsky/hubot-happy-birthder.git","clone_url":"https://github.com/tolstoyevsky/hubot-happy-birthder.git","svn_url":"https://github.com/tolstoyevsky/hubot-happy-birthder","homepage":"","size":1098,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":3,"open_issues":9,"watchers":2,"default_branch":"master"}},"base":{"label":"tolstoyevsky:master","ref":"master","sha":"818b53717521327198df96e7009342a9386fa9cd","user":{"login":"tolstoyevsky","id":5354708,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzNTQ3MDg=","avatar_url":"https://avatars0.githubusercontent.com/u/5354708?v=4","gravatar_id":"","url":"https://api.github.com/users/tolstoyevsky","html_url":"https://github.com/tolstoyevsky","followers_url":"https://api.github.com/users/tolstoyevsky/followers","following_url":"https://api.github.com/users/tolstoyevsky/following{/other_user}","gists_url":"https://api.github.com/users/tolstoyevsky/gists{/gist_id}","starred_url":"https://api.github.com/users/tolstoyevsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tolstoyevsky/subscriptions","organizations_url":"https://api.github.com/users/tolstoyevsky/orgs","repos_url":"https://api.github.com/users/tolstoyevsky/repos","events_url":"https://api.github.com/users/tolstoyevsky/events{/privacy}","received_events_url":"https://api.github.com/users/tolstoyevsky/received_events","type":"Organization","site_admin":false},"repo":{"id":139722713,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk3MjI3MTM=","name":"hubot-happy-birthder","full_name":"tolstoyevsky/hubot-happy-birthder","owner":{"login":"tolstoyevsky","id":5354708,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzNTQ3MDg=","avatar_url":"https://avatars0.githubusercontent.com/u/5354708?v=4","gravatar_id":"","url":"https://api.github.com/users/tolstoyevsky","html_url":"https://github.com/tolstoyevsky","followers_url":"https://api.github.com/users/tolstoyevsky/followers","following_url":"https://api.github.com/users/tolstoyevsky/following{/other_user}","gists_url":"https://api.github.com/users/tolstoyevsky/gists{/gist_id}","starred_url":"https://api.github.com/users/tolstoyevsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tolstoyevsky/subscriptions","organizations_url":"https://api.github.com/users/tolstoyevsky/orgs","repos_url":"https://api.github.com/users/tolstoyevsky/repos","events_url":"https://api.github.com/users/tolstoyevsky/events{/privacy}","received_events_url":"https://api.github.com/users/tolstoyevsky/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tolstoyevsky/hubot-happy-birthder","description":"Hubot script for writing birthday messages to users","fork":false,"url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder","forks_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/forks","keys_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/teams","hooks_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/hooks","issue_events_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/issues/events{/number}","events_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/events","assignees_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/assignees{/user}","branches_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/branches{/branch}","tags_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/tags","blobs_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/git/refs{/sha}","trees_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/statuses/{sha}","languages_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/languages","stargazers_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/stargazers","contributors_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/contributors","subscribers_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/subscribers","subscription_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/subscription","commits_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/commits{/sha}","git_commits_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/git/commits{/sha}","comments_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/comments{/number}","issue_comment_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/issues/comments{/number}","contents_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/contents/{+path}","compare_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/merges","archive_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/downloads","issues_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/issues{/number}","pulls_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/pulls{/number}","milestones_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/milestones{/number}","notifications_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/labels{/name}","releases_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/releases{/id}","deployments_url":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/deployments","created_at":"2018-07-04T13:00:45Z","updated_at":"2018-09-07T09:27:10Z","pushed_at":"2018-09-07T13:27:41Z","git_url":"git://github.com/tolstoyevsky/hubot-happy-birthder.git","ssh_url":"git@github.com:tolstoyevsky/hubot-happy-birthder.git","clone_url":"https://github.com/tolstoyevsky/hubot-happy-birthder.git","svn_url":"https://github.com/tolstoyevsky/hubot-happy-birthder","homepage":"","size":1098,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":3,"open_issues":9,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/pulls/69"},"html":{"href":"https://github.com/tolstoyevsky/hubot-happy-birthder/pull/69"},"issue":{"href":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/issues/69"},"comments":{"href":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/tolstoyevsky/hubot-happy-birthder/statuses/ba6751d85da8e53012666fd717024cab302d7ca1"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"eugulixes"}}