{"action":"created","comment":{"url":"https://api.github.com/repos/reactivepixel/Max-Bot/pulls/comments/202569552","pull_request_review_id":137294803,"id":202569552,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjU2OTU1Mg==","diff_hunk":"@@ -57,4 +57,15 @@ client.on('message', (message) => {\n   }\n });\n \n+client.on('guildMemberAdd', (member) => {\n+  // Send dm to user\n+  member.send(`Welcome to our server ${member}!`);\n+  // Send message to general channel\n+  const channel = member.guild.channels.find('name', 'general');\n+  if (!channel) {\n+    return;\n+  }\n+  channel.send(`Welcome to the server ${member}!`);","path":"bot/client.js","position":12,"original_position":12,"commit_id":"07101b2078ef3be1cb6e988bf5d0bdce0ec6e013","original_commit_id":"07101b2078ef3be1cb6e988bf5d0bdce0ec6e013","user":{"login":"reactivepixel","id":430063,"node_id":"MDQ6VXNlcjQzMDA2Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/430063?v=4","gravatar_id":"","url":"https://api.github.com/users/reactivepixel","html_url":"https://github.com/reactivepixel","followers_url":"https://api.github.com/users/reactivepixel/followers","following_url":"https://api.github.com/users/reactivepixel/following{/other_user}","gists_url":"https://api.github.com/users/reactivepixel/gists{/gist_id}","starred_url":"https://api.github.com/users/reactivepixel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reactivepixel/subscriptions","organizations_url":"https://api.github.com/users/reactivepixel/orgs","repos_url":"https://api.github.com/users/reactivepixel/repos","events_url":"https://api.github.com/users/reactivepixel/events{/privacy}","received_events_url":"https://api.github.com/users/reactivepixel/received_events","type":"User","site_admin":false},"body":"Duplicate logic: see ```welcome.js```","created_at":"2018-07-16T03:53:22Z","updated_at":"2018-07-16T03:53:28Z","html_url":"https://github.com/reactivepixel/Max-Bot/pull/176#discussion_r202569552","pull_request_url":"https://api.github.com/repos/reactivepixel/Max-Bot/pulls/176","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/reactivepixel/Max-Bot/pulls/comments/202569552"},"html":{"href":"https://github.com/reactivepixel/Max-Bot/pull/176#discussion_r202569552"},"pull_request":{"href":"https://api.github.com/repos/reactivepixel/Max-Bot/pulls/176"}}},"pull_request":{"url":"https://api.github.com/repos/reactivepixel/Max-Bot/pulls/176","id":200286142,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwMjg2MTQy","html_url":"https://github.com/reactivepixel/Max-Bot/pull/176","diff_url":"https://github.com/reactivepixel/Max-Bot/pull/176.diff","patch_url":"https://github.com/reactivepixel/Max-Bot/pull/176.patch","issue_url":"https://api.github.com/repos/reactivepixel/Max-Bot/issues/176","number":176,"state":"open","locked":false,"title":"Origin/moore garrett welcome","user":{"login":"gmoore10","id":2916774,"node_id":"MDQ6VXNlcjI5MTY3NzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2916774?v=4","gravatar_id":"","url":"https://api.github.com/users/gmoore10","html_url":"https://github.com/gmoore10","followers_url":"https://api.github.com/users/gmoore10/followers","following_url":"https://api.github.com/users/gmoore10/following{/other_user}","gists_url":"https://api.github.com/users/gmoore10/gists{/gist_id}","starred_url":"https://api.github.com/users/gmoore10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmoore10/subscriptions","organizations_url":"https://api.github.com/users/gmoore10/orgs","repos_url":"https://api.github.com/users/gmoore10/repos","events_url":"https://api.github.com/users/gmoore10/events{/privacy}","received_events_url":"https://api.github.com/users/gmoore10/received_events","type":"User","site_admin":false},"body":"All requirements for Release Day 1 implemented.","created_at":"2018-07-10T05:25:52Z","updated_at":"2018-07-16T03:53:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ab31075866070315efff8bf77b7cac44bc7ca97a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/reactivepixel/Max-Bot/pulls/176/commits","review_comments_url":"https://api.github.com/repos/reactivepixel/Max-Bot/pulls/176/comments","review_comment_url":"https://api.github.com/repos/reactivepixel/Max-Bot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/reactivepixel/Max-Bot/issues/176/comments","statuses_url":"https://api.github.com/repos/reactivepixel/Max-Bot/statuses/07101b2078ef3be1cb6e988bf5d0bdce0ec6e013","head":{"label":"reactivepixel:origin/MooreGarrett_Welcome","ref":"origin/MooreGarrett_Welcome","sha":"07101b2078ef3be1cb6e988bf5d0bdce0ec6e013","user":{"login":"reactivepixel","id":430063,"node_id":"MDQ6VXNlcjQzMDA2Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/430063?v=4","gravatar_id":"","url":"https://api.github.com/users/reactivepixel","html_url":"https://github.com/reactivepixel","followers_url":"https://api.github.com/users/reactivepixel/followers","following_url":"https://api.github.com/users/reactivepixel/following{/other_user}","gists_url":"https://api.github.com/users/reactivepixel/gists{/gist_id}","starred_url":"https://api.github.com/users/reactivepixel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reactivepixel/subscriptions","organizations_url":"https://api.github.com/users/reactivepixel/orgs","repos_url":"https://api.github.com/users/reactivepixel/repos","events_url":"https://api.github.com/users/reactivepixel/events{/privacy}","received_events_url":"https://api.github.com/users/reactivepixel/received_events","type":"User","site_admin":false},"repo":{"id":100329642,"node_id":"MDEwOlJlcG9zaXRvcnkxMDAzMjk2NDI=","name":"Max-Bot","full_name":"reactivepixel/Max-Bot","owner":{"login":"reactivepixel","id":430063,"node_id":"MDQ6VXNlcjQzMDA2Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/430063?v=4","gravatar_id":"","url":"https://api.github.com/users/reactivepixel","html_url":"https://github.com/reactivepixel","followers_url":"https://api.github.com/users/reactivepixel/followers","following_url":"https://api.github.com/users/reactivepixel/following{/other_user}","gists_url":"https://api.github.com/users/reactivepixel/gists{/gist_id}","starred_url":"https://api.github.com/users/reactivepixel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reactivepixel/subscriptions","organizations_url":"https://api.github.com/users/reactivepixel/orgs","repos_url":"https://api.github.com/users/reactivepixel/repos","events_url":"https://api.github.com/users/reactivepixel/events{/privacy}","received_events_url":"https://api.github.com/users/reactivepixel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/reactivepixel/Max-Bot","description":"Official Bot of the Full Sail Armada","fork":false,"url":"https://api.github.com/repos/reactivepixel/Max-Bot","forks_url":"https://api.github.com/repos/reactivepixel/Max-Bot/forks","keys_url":"https://api.github.com/repos/reactivepixel/Max-Bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reactivepixel/Max-Bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reactivepixel/Max-Bot/teams","hooks_url":"https://api.github.com/repos/reactivepixel/Max-Bot/hooks","issue_events_url":"https://api.github.com/repos/reactivepixel/Max-Bot/issues/events{/number}","events_url":"https://api.github.com/repos/reactivepixel/Max-Bot/events","assignees_url":"https://api.github.com/repos/reactivepixel/Max-Bot/assignees{/user}","branches_url":"https://api.github.com/repos/reactivepixel/Max-Bot/branches{/branch}","tags_url":"https://api.github.com/repos/reactivepixel/Max-Bot/tags","blobs_url":"https://api.github.com/repos/reactivepixel/Max-Bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reactivepixel/Max-Bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reactivepixel/Max-Bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/reactivepixel/Max-Bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reactivepixel/Max-Bot/statuses/{sha}","languages_url":"https://api.github.com/repos/reactivepixel/Max-Bot/languages","stargazers_url":"https://api.github.com/repos/reactivepixel/Max-Bot/stargazers","contributors_url":"https://api.github.com/repos/reactivepixel/Max-Bot/contributors","subscribers_url":"https://api.github.com/repos/reactivepixel/Max-Bot/subscribers","subscription_url":"https://api.github.com/repos/reactivepixel/Max-Bot/subscription","commits_url":"https://api.github.com/repos/reactivepixel/Max-Bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/reactivepixel/Max-Bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/reactivepixel/Max-Bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/reactivepixel/Max-Bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/reactivepixel/Max-Bot/contents/{+path}","compare_url":"https://api.github.com/repos/reactivepixel/Max-Bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reactivepixel/Max-Bot/merges","archive_url":"https://api.github.com/repos/reactivepixel/Max-Bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reactivepixel/Max-Bot/downloads","issues_url":"https://api.github.com/repos/reactivepixel/Max-Bot/issues{/number}","pulls_url":"https://api.github.com/repos/reactivepixel/Max-Bot/pulls{/number}","milestones_url":"https://api.github.com/repos/reactivepixel/Max-Bot/milestones{/number}","notifications_url":"https://api.github.com/repos/reactivepixel/Max-Bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reactivepixel/Max-Bot/labels{/name}","releases_url":"https://api.github.com/repos/reactivepixel/Max-Bot/releases{/id}","deployments_url":"https://api.github.com/repos/reactivepixel/Max-Bot/deployments","created_at":"2017-08-15T02:27:00Z","updated_at":"2018-07-01T19:48:54Z","pushed_at":"2018-07-12T03:52:59Z","git_url":"git://github.com/reactivepixel/Max-Bot.git","ssh_url":"git@github.com:reactivepixel/Max-Bot.git","clone_url":"https://github.com/reactivepixel/Max-Bot.git","svn_url":"https://github.com/reactivepixel/Max-Bot","homepage":"","size":426,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":23,"license":null,"forks":15,"open_issues":23,"watchers":3,"default_branch":"dev"}},"base":{"label":"reactivepixel:dev","ref":"dev","sha":"0d94600ca9277918c2b56d6b75c0eba97f2126bf","user":{"login":"reactivepixel","id":430063,"node_id":"MDQ6VXNlcjQzMDA2Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/430063?v=4","gravatar_id":"","url":"https://api.github.com/users/reactivepixel","html_url":"https://github.com/reactivepixel","followers_url":"https://api.github.com/users/reactivepixel/followers","following_url":"https://api.github.com/users/reactivepixel/following{/other_user}","gists_url":"https://api.github.com/users/reactivepixel/gists{/gist_id}","starred_url":"https://api.github.com/users/reactivepixel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reactivepixel/subscriptions","organizations_url":"https://api.github.com/users/reactivepixel/orgs","repos_url":"https://api.github.com/users/reactivepixel/repos","events_url":"https://api.github.com/users/reactivepixel/events{/privacy}","received_events_url":"https://api.github.com/users/reactivepixel/received_events","type":"User","site_admin":false},"repo":{"id":100329642,"node_id":"MDEwOlJlcG9zaXRvcnkxMDAzMjk2NDI=","name":"Max-Bot","full_name":"reactivepixel/Max-Bot","owner":{"login":"reactivepixel","id":430063,"node_id":"MDQ6VXNlcjQzMDA2Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/430063?v=4","gravatar_id":"","url":"https://api.github.com/users/reactivepixel","html_url":"https://github.com/reactivepixel","followers_url":"https://api.github.com/users/reactivepixel/followers","following_url":"https://api.github.com/users/reactivepixel/following{/other_user}","gists_url":"https://api.github.com/users/reactivepixel/gists{/gist_id}","starred_url":"https://api.github.com/users/reactivepixel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reactivepixel/subscriptions","organizations_url":"https://api.github.com/users/reactivepixel/orgs","repos_url":"https://api.github.com/users/reactivepixel/repos","events_url":"https://api.github.com/users/reactivepixel/events{/privacy}","received_events_url":"https://api.github.com/users/reactivepixel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/reactivepixel/Max-Bot","description":"Official Bot of the Full Sail Armada","fork":false,"url":"https://api.github.com/repos/reactivepixel/Max-Bot","forks_url":"https://api.github.com/repos/reactivepixel/Max-Bot/forks","keys_url":"https://api.github.com/repos/reactivepixel/Max-Bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reactivepixel/Max-Bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reactivepixel/Max-Bot/teams","hooks_url":"https://api.github.com/repos/reactivepixel/Max-Bot/hooks","issue_events_url":"https://api.github.com/repos/reactivepixel/Max-Bot/issues/events{/number}","events_url":"https://api.github.com/repos/reactivepixel/Max-Bot/events","assignees_url":"https://api.github.com/repos/reactivepixel/Max-Bot/assignees{/user}","branches_url":"https://api.github.com/repos/reactivepixel/Max-Bot/branches{/branch}","tags_url":"https://api.github.com/repos/reactivepixel/Max-Bot/tags","blobs_url":"https://api.github.com/repos/reactivepixel/Max-Bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reactivepixel/Max-Bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reactivepixel/Max-Bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/reactivepixel/Max-Bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reactivepixel/Max-Bot/statuses/{sha}","languages_url":"https://api.github.com/repos/reactivepixel/Max-Bot/languages","stargazers_url":"https://api.github.com/repos/reactivepixel/Max-Bot/stargazers","contributors_url":"https://api.github.com/repos/reactivepixel/Max-Bot/contributors","subscribers_url":"https://api.github.com/repos/reactivepixel/Max-Bot/subscribers","subscription_url":"https://api.github.com/repos/reactivepixel/Max-Bot/subscription","commits_url":"https://api.github.com/repos/reactivepixel/Max-Bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/reactivepixel/Max-Bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/reactivepixel/Max-Bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/reactivepixel/Max-Bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/reactivepixel/Max-Bot/contents/{+path}","compare_url":"https://api.github.com/repos/reactivepixel/Max-Bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reactivepixel/Max-Bot/merges","archive_url":"https://api.github.com/repos/reactivepixel/Max-Bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reactivepixel/Max-Bot/downloads","issues_url":"https://api.github.com/repos/reactivepixel/Max-Bot/issues{/number}","pulls_url":"https://api.github.com/repos/reactivepixel/Max-Bot/pulls{/number}","milestones_url":"https://api.github.com/repos/reactivepixel/Max-Bot/milestones{/number}","notifications_url":"https://api.github.com/repos/reactivepixel/Max-Bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reactivepixel/Max-Bot/labels{/name}","releases_url":"https://api.github.com/repos/reactivepixel/Max-Bot/releases{/id}","deployments_url":"https://api.github.com/repos/reactivepixel/Max-Bot/deployments","created_at":"2017-08-15T02:27:00Z","updated_at":"2018-07-01T19:48:54Z","pushed_at":"2018-07-12T03:52:59Z","git_url":"git://github.com/reactivepixel/Max-Bot.git","ssh_url":"git@github.com:reactivepixel/Max-Bot.git","clone_url":"https://github.com/reactivepixel/Max-Bot.git","svn_url":"https://github.com/reactivepixel/Max-Bot","homepage":"","size":426,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":23,"license":null,"forks":15,"open_issues":23,"watchers":3,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/reactivepixel/Max-Bot/pulls/176"},"html":{"href":"https://github.com/reactivepixel/Max-Bot/pull/176"},"issue":{"href":"https://api.github.com/repos/reactivepixel/Max-Bot/issues/176"},"comments":{"href":"https://api.github.com/repos/reactivepixel/Max-Bot/issues/176/comments"},"review_comments":{"href":"https://api.github.com/repos/reactivepixel/Max-Bot/pulls/176/comments"},"review_comment":{"href":"https://api.github.com/repos/reactivepixel/Max-Bot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/reactivepixel/Max-Bot/pulls/176/commits"},"statuses":{"href":"https://api.github.com/repos/reactivepixel/Max-Bot/statuses/07101b2078ef3be1cb6e988bf5d0bdce0ec6e013"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"reactivepixel"}}