{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/JonLambell/discord-bot/pulls/6","id":146970513,"html_url":"https://github.com/JonLambell/discord-bot/pull/6","diff_url":"https://github.com/JonLambell/discord-bot/pull/6.diff","patch_url":"https://github.com/JonLambell/discord-bot/pull/6.patch","issue_url":"https://api.github.com/repos/JonLambell/discord-bot/issues/6","number":6,"state":"closed","locked":false,"title":"Tidy up","user":{"login":"JonLambell","id":1327343,"avatar_url":"https://avatars0.githubusercontent.com/u/1327343?v=4","gravatar_id":"","url":"https://api.github.com/users/JonLambell","html_url":"https://github.com/JonLambell","followers_url":"https://api.github.com/users/JonLambell/followers","following_url":"https://api.github.com/users/JonLambell/following{/other_user}","gists_url":"https://api.github.com/users/JonLambell/gists{/gist_id}","starred_url":"https://api.github.com/users/JonLambell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonLambell/subscriptions","organizations_url":"https://api.github.com/users/JonLambell/orgs","repos_url":"https://api.github.com/users/JonLambell/repos","events_url":"https://api.github.com/users/JonLambell/events{/privacy}","received_events_url":"https://api.github.com/users/JonLambell/received_events","type":"User","site_admin":false},"body":"Separated out some functions in to more fitting places.\r\nAdded Owner checks for certain commands","created_at":"2017-10-17T08:15:40Z","updated_at":"2017-10-17T08:15:50Z","closed_at":"2017-10-17T08:15:50Z","merged_at":"2017-10-17T08:15:50Z","merge_commit_sha":"c75014a13bb82c1dd4b70db1a6b58dd861d0da4a","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/JonLambell/discord-bot/pulls/6/commits","review_comments_url":"https://api.github.com/repos/JonLambell/discord-bot/pulls/6/comments","review_comment_url":"https://api.github.com/repos/JonLambell/discord-bot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JonLambell/discord-bot/issues/6/comments","statuses_url":"https://api.github.com/repos/JonLambell/discord-bot/statuses/f0ae00ecc6faec7db5dc166e4d043ee0ff15c771","head":{"label":"JonLambell:task/tidy-up","ref":"task/tidy-up","sha":"f0ae00ecc6faec7db5dc166e4d043ee0ff15c771","user":{"login":"JonLambell","id":1327343,"avatar_url":"https://avatars0.githubusercontent.com/u/1327343?v=4","gravatar_id":"","url":"https://api.github.com/users/JonLambell","html_url":"https://github.com/JonLambell","followers_url":"https://api.github.com/users/JonLambell/followers","following_url":"https://api.github.com/users/JonLambell/following{/other_user}","gists_url":"https://api.github.com/users/JonLambell/gists{/gist_id}","starred_url":"https://api.github.com/users/JonLambell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonLambell/subscriptions","organizations_url":"https://api.github.com/users/JonLambell/orgs","repos_url":"https://api.github.com/users/JonLambell/repos","events_url":"https://api.github.com/users/JonLambell/events{/privacy}","received_events_url":"https://api.github.com/users/JonLambell/received_events","type":"User","site_admin":false},"repo":{"id":106274512,"name":"discord-bot","full_name":"JonLambell/discord-bot","owner":{"login":"JonLambell","id":1327343,"avatar_url":"https://avatars0.githubusercontent.com/u/1327343?v=4","gravatar_id":"","url":"https://api.github.com/users/JonLambell","html_url":"https://github.com/JonLambell","followers_url":"https://api.github.com/users/JonLambell/followers","following_url":"https://api.github.com/users/JonLambell/following{/other_user}","gists_url":"https://api.github.com/users/JonLambell/gists{/gist_id}","starred_url":"https://api.github.com/users/JonLambell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonLambell/subscriptions","organizations_url":"https://api.github.com/users/JonLambell/orgs","repos_url":"https://api.github.com/users/JonLambell/repos","events_url":"https://api.github.com/users/JonLambell/events{/privacy}","received_events_url":"https://api.github.com/users/JonLambell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JonLambell/discord-bot","description":null,"fork":false,"url":"https://api.github.com/repos/JonLambell/discord-bot","forks_url":"https://api.github.com/repos/JonLambell/discord-bot/forks","keys_url":"https://api.github.com/repos/JonLambell/discord-bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JonLambell/discord-bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JonLambell/discord-bot/teams","hooks_url":"https://api.github.com/repos/JonLambell/discord-bot/hooks","issue_events_url":"https://api.github.com/repos/JonLambell/discord-bot/issues/events{/number}","events_url":"https://api.github.com/repos/JonLambell/discord-bot/events","assignees_url":"https://api.github.com/repos/JonLambell/discord-bot/assignees{/user}","branches_url":"https://api.github.com/repos/JonLambell/discord-bot/branches{/branch}","tags_url":"https://api.github.com/repos/JonLambell/discord-bot/tags","blobs_url":"https://api.github.com/repos/JonLambell/discord-bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JonLambell/discord-bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JonLambell/discord-bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/JonLambell/discord-bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JonLambell/discord-bot/statuses/{sha}","languages_url":"https://api.github.com/repos/JonLambell/discord-bot/languages","stargazers_url":"https://api.github.com/repos/JonLambell/discord-bot/stargazers","contributors_url":"https://api.github.com/repos/JonLambell/discord-bot/contributors","subscribers_url":"https://api.github.com/repos/JonLambell/discord-bot/subscribers","subscription_url":"https://api.github.com/repos/JonLambell/discord-bot/subscription","commits_url":"https://api.github.com/repos/JonLambell/discord-bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/JonLambell/discord-bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/JonLambell/discord-bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/JonLambell/discord-bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/JonLambell/discord-bot/contents/{+path}","compare_url":"https://api.github.com/repos/JonLambell/discord-bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JonLambell/discord-bot/merges","archive_url":"https://api.github.com/repos/JonLambell/discord-bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JonLambell/discord-bot/downloads","issues_url":"https://api.github.com/repos/JonLambell/discord-bot/issues{/number}","pulls_url":"https://api.github.com/repos/JonLambell/discord-bot/pulls{/number}","milestones_url":"https://api.github.com/repos/JonLambell/discord-bot/milestones{/number}","notifications_url":"https://api.github.com/repos/JonLambell/discord-bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JonLambell/discord-bot/labels{/name}","releases_url":"https://api.github.com/repos/JonLambell/discord-bot/releases{/id}","deployments_url":"https://api.github.com/repos/JonLambell/discord-bot/deployments","created_at":"2017-10-09T11:23:54Z","updated_at":"2017-10-09T13:07:40Z","pushed_at":"2017-10-17T08:15:50Z","git_url":"git://github.com/JonLambell/discord-bot.git","ssh_url":"git@github.com:JonLambell/discord-bot.git","clone_url":"https://github.com/JonLambell/discord-bot.git","svn_url":"https://github.com/JonLambell/discord-bot","homepage":null,"size":63,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"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":"develop"}},"base":{"label":"JonLambell:develop","ref":"develop","sha":"241b53078eef8c595d576adbb2a8445cb562b549","user":{"login":"JonLambell","id":1327343,"avatar_url":"https://avatars0.githubusercontent.com/u/1327343?v=4","gravatar_id":"","url":"https://api.github.com/users/JonLambell","html_url":"https://github.com/JonLambell","followers_url":"https://api.github.com/users/JonLambell/followers","following_url":"https://api.github.com/users/JonLambell/following{/other_user}","gists_url":"https://api.github.com/users/JonLambell/gists{/gist_id}","starred_url":"https://api.github.com/users/JonLambell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonLambell/subscriptions","organizations_url":"https://api.github.com/users/JonLambell/orgs","repos_url":"https://api.github.com/users/JonLambell/repos","events_url":"https://api.github.com/users/JonLambell/events{/privacy}","received_events_url":"https://api.github.com/users/JonLambell/received_events","type":"User","site_admin":false},"repo":{"id":106274512,"name":"discord-bot","full_name":"JonLambell/discord-bot","owner":{"login":"JonLambell","id":1327343,"avatar_url":"https://avatars0.githubusercontent.com/u/1327343?v=4","gravatar_id":"","url":"https://api.github.com/users/JonLambell","html_url":"https://github.com/JonLambell","followers_url":"https://api.github.com/users/JonLambell/followers","following_url":"https://api.github.com/users/JonLambell/following{/other_user}","gists_url":"https://api.github.com/users/JonLambell/gists{/gist_id}","starred_url":"https://api.github.com/users/JonLambell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonLambell/subscriptions","organizations_url":"https://api.github.com/users/JonLambell/orgs","repos_url":"https://api.github.com/users/JonLambell/repos","events_url":"https://api.github.com/users/JonLambell/events{/privacy}","received_events_url":"https://api.github.com/users/JonLambell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JonLambell/discord-bot","description":null,"fork":false,"url":"https://api.github.com/repos/JonLambell/discord-bot","forks_url":"https://api.github.com/repos/JonLambell/discord-bot/forks","keys_url":"https://api.github.com/repos/JonLambell/discord-bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JonLambell/discord-bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JonLambell/discord-bot/teams","hooks_url":"https://api.github.com/repos/JonLambell/discord-bot/hooks","issue_events_url":"https://api.github.com/repos/JonLambell/discord-bot/issues/events{/number}","events_url":"https://api.github.com/repos/JonLambell/discord-bot/events","assignees_url":"https://api.github.com/repos/JonLambell/discord-bot/assignees{/user}","branches_url":"https://api.github.com/repos/JonLambell/discord-bot/branches{/branch}","tags_url":"https://api.github.com/repos/JonLambell/discord-bot/tags","blobs_url":"https://api.github.com/repos/JonLambell/discord-bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JonLambell/discord-bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JonLambell/discord-bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/JonLambell/discord-bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JonLambell/discord-bot/statuses/{sha}","languages_url":"https://api.github.com/repos/JonLambell/discord-bot/languages","stargazers_url":"https://api.github.com/repos/JonLambell/discord-bot/stargazers","contributors_url":"https://api.github.com/repos/JonLambell/discord-bot/contributors","subscribers_url":"https://api.github.com/repos/JonLambell/discord-bot/subscribers","subscription_url":"https://api.github.com/repos/JonLambell/discord-bot/subscription","commits_url":"https://api.github.com/repos/JonLambell/discord-bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/JonLambell/discord-bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/JonLambell/discord-bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/JonLambell/discord-bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/JonLambell/discord-bot/contents/{+path}","compare_url":"https://api.github.com/repos/JonLambell/discord-bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JonLambell/discord-bot/merges","archive_url":"https://api.github.com/repos/JonLambell/discord-bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JonLambell/discord-bot/downloads","issues_url":"https://api.github.com/repos/JonLambell/discord-bot/issues{/number}","pulls_url":"https://api.github.com/repos/JonLambell/discord-bot/pulls{/number}","milestones_url":"https://api.github.com/repos/JonLambell/discord-bot/milestones{/number}","notifications_url":"https://api.github.com/repos/JonLambell/discord-bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JonLambell/discord-bot/labels{/name}","releases_url":"https://api.github.com/repos/JonLambell/discord-bot/releases{/id}","deployments_url":"https://api.github.com/repos/JonLambell/discord-bot/deployments","created_at":"2017-10-09T11:23:54Z","updated_at":"2017-10-09T13:07:40Z","pushed_at":"2017-10-17T08:15:50Z","git_url":"git://github.com/JonLambell/discord-bot.git","ssh_url":"git@github.com:JonLambell/discord-bot.git","clone_url":"https://github.com/JonLambell/discord-bot.git","svn_url":"https://github.com/JonLambell/discord-bot","homepage":null,"size":63,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"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":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/JonLambell/discord-bot/pulls/6"},"html":{"href":"https://github.com/JonLambell/discord-bot/pull/6"},"issue":{"href":"https://api.github.com/repos/JonLambell/discord-bot/issues/6"},"comments":{"href":"https://api.github.com/repos/JonLambell/discord-bot/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/JonLambell/discord-bot/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/JonLambell/discord-bot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JonLambell/discord-bot/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/JonLambell/discord-bot/statuses/f0ae00ecc6faec7db5dc166e4d043ee0ff15c771"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"JonLambell","id":1327343,"avatar_url":"https://avatars0.githubusercontent.com/u/1327343?v=4","gravatar_id":"","url":"https://api.github.com/users/JonLambell","html_url":"https://github.com/JonLambell","followers_url":"https://api.github.com/users/JonLambell/followers","following_url":"https://api.github.com/users/JonLambell/following{/other_user}","gists_url":"https://api.github.com/users/JonLambell/gists{/gist_id}","starred_url":"https://api.github.com/users/JonLambell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonLambell/subscriptions","organizations_url":"https://api.github.com/users/JonLambell/orgs","repos_url":"https://api.github.com/users/JonLambell/repos","events_url":"https://api.github.com/users/JonLambell/events{/privacy}","received_events_url":"https://api.github.com/users/JonLambell/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":8,"additions":161,"deletions":141,"changed_files":9}}
{"actor":{"display_login":"JonLambell"}}