{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/Room-11/Jeeves/pulls/5","id":56604367,"html_url":"https://github.com/Room-11/Jeeves/pull/5","diff_url":"https://github.com/Room-11/Jeeves/pull/5.diff","patch_url":"https://github.com/Room-11/Jeeves/pull/5.patch","issue_url":"https://api.github.com/repos/Room-11/Jeeves/issues/5","number":5,"state":"open","locked":false,"title":"Basic implementation for #4","user":{"login":"DaveRandom","id":2396425,"avatar_url":"https://avatars.githubusercontent.com/u/2396425?v=3","gravatar_id":"","url":"https://api.github.com/users/DaveRandom","html_url":"https://github.com/DaveRandom","followers_url":"https://api.github.com/users/DaveRandom/followers","following_url":"https://api.github.com/users/DaveRandom/following{/other_user}","gists_url":"https://api.github.com/users/DaveRandom/gists{/gist_id}","starred_url":"https://api.github.com/users/DaveRandom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaveRandom/subscriptions","organizations_url":"https://api.github.com/users/DaveRandom/orgs","repos_url":"https://api.github.com/users/DaveRandom/repos","events_url":"https://api.github.com/users/DaveRandom/events{/privacy}","received_events_url":"https://api.github.com/users/DaveRandom/received_events","type":"User","site_admin":false},"body":"This should work in 99% of cases. I recall there being some oddities that would need to be special-cased, but I forget what they are.","created_at":"2016-01-20T13:00:57Z","updated_at":"2016-01-20T13:00:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Room-11/Jeeves/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Room-11/Jeeves/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Room-11/Jeeves/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Room-11/Jeeves/issues/5/comments","statuses_url":"https://api.github.com/repos/Room-11/Jeeves/statuses/902594a6c23192dad82e768ea12b082e2174b6fa","head":{"label":"DaveRandom:feature/issue-4","ref":"feature/issue-4","sha":"902594a6c23192dad82e768ea12b082e2174b6fa","user":{"login":"DaveRandom","id":2396425,"avatar_url":"https://avatars.githubusercontent.com/u/2396425?v=3","gravatar_id":"","url":"https://api.github.com/users/DaveRandom","html_url":"https://github.com/DaveRandom","followers_url":"https://api.github.com/users/DaveRandom/followers","following_url":"https://api.github.com/users/DaveRandom/following{/other_user}","gists_url":"https://api.github.com/users/DaveRandom/gists{/gist_id}","starred_url":"https://api.github.com/users/DaveRandom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaveRandom/subscriptions","organizations_url":"https://api.github.com/users/DaveRandom/orgs","repos_url":"https://api.github.com/users/DaveRandom/repos","events_url":"https://api.github.com/users/DaveRandom/events{/privacy}","received_events_url":"https://api.github.com/users/DaveRandom/received_events","type":"User","site_admin":false},"repo":{"id":50028975,"name":"Jeeves","full_name":"DaveRandom/Jeeves","owner":{"login":"DaveRandom","id":2396425,"avatar_url":"https://avatars.githubusercontent.com/u/2396425?v=3","gravatar_id":"","url":"https://api.github.com/users/DaveRandom","html_url":"https://github.com/DaveRandom","followers_url":"https://api.github.com/users/DaveRandom/followers","following_url":"https://api.github.com/users/DaveRandom/following{/other_user}","gists_url":"https://api.github.com/users/DaveRandom/gists{/gist_id}","starred_url":"https://api.github.com/users/DaveRandom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaveRandom/subscriptions","organizations_url":"https://api.github.com/users/DaveRandom/orgs","repos_url":"https://api.github.com/users/DaveRandom/repos","events_url":"https://api.github.com/users/DaveRandom/events{/privacy}","received_events_url":"https://api.github.com/users/DaveRandom/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DaveRandom/Jeeves","description":"Chatbot attempt","fork":true,"url":"https://api.github.com/repos/DaveRandom/Jeeves","forks_url":"https://api.github.com/repos/DaveRandom/Jeeves/forks","keys_url":"https://api.github.com/repos/DaveRandom/Jeeves/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DaveRandom/Jeeves/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DaveRandom/Jeeves/teams","hooks_url":"https://api.github.com/repos/DaveRandom/Jeeves/hooks","issue_events_url":"https://api.github.com/repos/DaveRandom/Jeeves/issues/events{/number}","events_url":"https://api.github.com/repos/DaveRandom/Jeeves/events","assignees_url":"https://api.github.com/repos/DaveRandom/Jeeves/assignees{/user}","branches_url":"https://api.github.com/repos/DaveRandom/Jeeves/branches{/branch}","tags_url":"https://api.github.com/repos/DaveRandom/Jeeves/tags","blobs_url":"https://api.github.com/repos/DaveRandom/Jeeves/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DaveRandom/Jeeves/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DaveRandom/Jeeves/git/refs{/sha}","trees_url":"https://api.github.com/repos/DaveRandom/Jeeves/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DaveRandom/Jeeves/statuses/{sha}","languages_url":"https://api.github.com/repos/DaveRandom/Jeeves/languages","stargazers_url":"https://api.github.com/repos/DaveRandom/Jeeves/stargazers","contributors_url":"https://api.github.com/repos/DaveRandom/Jeeves/contributors","subscribers_url":"https://api.github.com/repos/DaveRandom/Jeeves/subscribers","subscription_url":"https://api.github.com/repos/DaveRandom/Jeeves/subscription","commits_url":"https://api.github.com/repos/DaveRandom/Jeeves/commits{/sha}","git_commits_url":"https://api.github.com/repos/DaveRandom/Jeeves/git/commits{/sha}","comments_url":"https://api.github.com/repos/DaveRandom/Jeeves/comments{/number}","issue_comment_url":"https://api.github.com/repos/DaveRandom/Jeeves/issues/comments{/number}","contents_url":"https://api.github.com/repos/DaveRandom/Jeeves/contents/{+path}","compare_url":"https://api.github.com/repos/DaveRandom/Jeeves/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DaveRandom/Jeeves/merges","archive_url":"https://api.github.com/repos/DaveRandom/Jeeves/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DaveRandom/Jeeves/downloads","issues_url":"https://api.github.com/repos/DaveRandom/Jeeves/issues{/number}","pulls_url":"https://api.github.com/repos/DaveRandom/Jeeves/pulls{/number}","milestones_url":"https://api.github.com/repos/DaveRandom/Jeeves/milestones{/number}","notifications_url":"https://api.github.com/repos/DaveRandom/Jeeves/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DaveRandom/Jeeves/labels{/name}","releases_url":"https://api.github.com/repos/DaveRandom/Jeeves/releases{/id}","created_at":"2016-01-20T12:36:05Z","updated_at":"2016-01-20T12:36:06Z","pushed_at":"2016-01-20T12:58:30Z","git_url":"git://github.com/DaveRandom/Jeeves.git","ssh_url":"git@github.com:DaveRandom/Jeeves.git","clone_url":"https://github.com/DaveRandom/Jeeves.git","svn_url":"https://github.com/DaveRandom/Jeeves","homepage":null,"size":72,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"Room-11:master","ref":"master","sha":"256a6f46caf24b9059c9d931f3cd9fd42012d855","user":{"login":"Room-11","id":4993025,"avatar_url":"https://avatars.githubusercontent.com/u/4993025?v=3","gravatar_id":"","url":"https://api.github.com/users/Room-11","html_url":"https://github.com/Room-11","followers_url":"https://api.github.com/users/Room-11/followers","following_url":"https://api.github.com/users/Room-11/following{/other_user}","gists_url":"https://api.github.com/users/Room-11/gists{/gist_id}","starred_url":"https://api.github.com/users/Room-11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Room-11/subscriptions","organizations_url":"https://api.github.com/users/Room-11/orgs","repos_url":"https://api.github.com/users/Room-11/repos","events_url":"https://api.github.com/users/Room-11/events{/privacy}","received_events_url":"https://api.github.com/users/Room-11/received_events","type":"Organization","site_admin":false},"repo":{"id":49328386,"name":"Jeeves","full_name":"Room-11/Jeeves","owner":{"login":"Room-11","id":4993025,"avatar_url":"https://avatars.githubusercontent.com/u/4993025?v=3","gravatar_id":"","url":"https://api.github.com/users/Room-11","html_url":"https://github.com/Room-11","followers_url":"https://api.github.com/users/Room-11/followers","following_url":"https://api.github.com/users/Room-11/following{/other_user}","gists_url":"https://api.github.com/users/Room-11/gists{/gist_id}","starred_url":"https://api.github.com/users/Room-11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Room-11/subscriptions","organizations_url":"https://api.github.com/users/Room-11/orgs","repos_url":"https://api.github.com/users/Room-11/repos","events_url":"https://api.github.com/users/Room-11/events{/privacy}","received_events_url":"https://api.github.com/users/Room-11/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Room-11/Jeeves","description":"Chatbot attempt","fork":false,"url":"https://api.github.com/repos/Room-11/Jeeves","forks_url":"https://api.github.com/repos/Room-11/Jeeves/forks","keys_url":"https://api.github.com/repos/Room-11/Jeeves/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Room-11/Jeeves/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Room-11/Jeeves/teams","hooks_url":"https://api.github.com/repos/Room-11/Jeeves/hooks","issue_events_url":"https://api.github.com/repos/Room-11/Jeeves/issues/events{/number}","events_url":"https://api.github.com/repos/Room-11/Jeeves/events","assignees_url":"https://api.github.com/repos/Room-11/Jeeves/assignees{/user}","branches_url":"https://api.github.com/repos/Room-11/Jeeves/branches{/branch}","tags_url":"https://api.github.com/repos/Room-11/Jeeves/tags","blobs_url":"https://api.github.com/repos/Room-11/Jeeves/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Room-11/Jeeves/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Room-11/Jeeves/git/refs{/sha}","trees_url":"https://api.github.com/repos/Room-11/Jeeves/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Room-11/Jeeves/statuses/{sha}","languages_url":"https://api.github.com/repos/Room-11/Jeeves/languages","stargazers_url":"https://api.github.com/repos/Room-11/Jeeves/stargazers","contributors_url":"https://api.github.com/repos/Room-11/Jeeves/contributors","subscribers_url":"https://api.github.com/repos/Room-11/Jeeves/subscribers","subscription_url":"https://api.github.com/repos/Room-11/Jeeves/subscription","commits_url":"https://api.github.com/repos/Room-11/Jeeves/commits{/sha}","git_commits_url":"https://api.github.com/repos/Room-11/Jeeves/git/commits{/sha}","comments_url":"https://api.github.com/repos/Room-11/Jeeves/comments{/number}","issue_comment_url":"https://api.github.com/repos/Room-11/Jeeves/issues/comments{/number}","contents_url":"https://api.github.com/repos/Room-11/Jeeves/contents/{+path}","compare_url":"https://api.github.com/repos/Room-11/Jeeves/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Room-11/Jeeves/merges","archive_url":"https://api.github.com/repos/Room-11/Jeeves/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Room-11/Jeeves/downloads","issues_url":"https://api.github.com/repos/Room-11/Jeeves/issues{/number}","pulls_url":"https://api.github.com/repos/Room-11/Jeeves/pulls{/number}","milestones_url":"https://api.github.com/repos/Room-11/Jeeves/milestones{/number}","notifications_url":"https://api.github.com/repos/Room-11/Jeeves/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Room-11/Jeeves/labels{/name}","releases_url":"https://api.github.com/repos/Room-11/Jeeves/releases{/id}","created_at":"2016-01-09T14:58:57Z","updated_at":"2016-01-12T11:56:28Z","pushed_at":"2016-01-19T21:00:38Z","git_url":"git://github.com/Room-11/Jeeves.git","ssh_url":"git@github.com:Room-11/Jeeves.git","clone_url":"https://github.com/Room-11/Jeeves.git","svn_url":"https://github.com/Room-11/Jeeves","homepage":null,"size":70,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Room-11/Jeeves/pulls/5"},"html":{"href":"https://github.com/Room-11/Jeeves/pull/5"},"issue":{"href":"https://api.github.com/repos/Room-11/Jeeves/issues/5"},"comments":{"href":"https://api.github.com/repos/Room-11/Jeeves/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Room-11/Jeeves/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Room-11/Jeeves/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Room-11/Jeeves/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Room-11/Jeeves/statuses/902594a6c23192dad82e768ea12b082e2174b6fa"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":6,"deletions":4,"changed_files":1}}