{"action":"opened","number":17,"pull_request":{"url":"https://api.github.com/repos/simpixelated/slackbot/pulls/17","id":65924911,"html_url":"https://github.com/simpixelated/slackbot/pull/17","diff_url":"https://github.com/simpixelated/slackbot/pull/17.diff","patch_url":"https://github.com/simpixelated/slackbot/pull/17.patch","issue_url":"https://api.github.com/repos/simpixelated/slackbot/issues/17","number":17,"state":"open","locked":false,"title":"adds wit.ai with custom middelware","user":{"login":"simpixelated","id":838282,"avatar_url":"https://avatars.githubusercontent.com/u/838282?v=3","gravatar_id":"","url":"https://api.github.com/users/simpixelated","html_url":"https://github.com/simpixelated","followers_url":"https://api.github.com/users/simpixelated/followers","following_url":"https://api.github.com/users/simpixelated/following{/other_user}","gists_url":"https://api.github.com/users/simpixelated/gists{/gist_id}","starred_url":"https://api.github.com/users/simpixelated/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simpixelated/subscriptions","organizations_url":"https://api.github.com/users/simpixelated/orgs","repos_url":"https://api.github.com/users/simpixelated/repos","events_url":"https://api.github.com/users/simpixelated/events{/privacy}","received_events_url":"https://api.github.com/users/simpixelated/received_events","type":"User","site_admin":false},"body":"Had to use custom middleware for wit.ai to prevent the user id from being sent, as well as sending it's own messages. Hardcoded a response that would normally involve a lookup to NAX API, but it's roughed into place quite well with intents all setup on wit.ai.\r\n\r\nFixes #3, starts #15.","created_at":"2016-04-10T22:14:03Z","updated_at":"2016-04-10T22:14:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/simpixelated/slackbot/pulls/17/commits","review_comments_url":"https://api.github.com/repos/simpixelated/slackbot/pulls/17/comments","review_comment_url":"https://api.github.com/repos/simpixelated/slackbot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/simpixelated/slackbot/issues/17/comments","statuses_url":"https://api.github.com/repos/simpixelated/slackbot/statuses/500f700861d3af555d22a49e19483cc27b6590da","head":{"label":"simpixelated:wit.ai","ref":"wit.ai","sha":"500f700861d3af555d22a49e19483cc27b6590da","user":{"login":"simpixelated","id":838282,"avatar_url":"https://avatars.githubusercontent.com/u/838282?v=3","gravatar_id":"","url":"https://api.github.com/users/simpixelated","html_url":"https://github.com/simpixelated","followers_url":"https://api.github.com/users/simpixelated/followers","following_url":"https://api.github.com/users/simpixelated/following{/other_user}","gists_url":"https://api.github.com/users/simpixelated/gists{/gist_id}","starred_url":"https://api.github.com/users/simpixelated/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simpixelated/subscriptions","organizations_url":"https://api.github.com/users/simpixelated/orgs","repos_url":"https://api.github.com/users/simpixelated/repos","events_url":"https://api.github.com/users/simpixelated/events{/privacy}","received_events_url":"https://api.github.com/users/simpixelated/received_events","type":"User","site_admin":false},"repo":{"id":55857467,"name":"slackbot","full_name":"simpixelated/slackbot","owner":{"login":"simpixelated","id":838282,"avatar_url":"https://avatars.githubusercontent.com/u/838282?v=3","gravatar_id":"","url":"https://api.github.com/users/simpixelated","html_url":"https://github.com/simpixelated","followers_url":"https://api.github.com/users/simpixelated/followers","following_url":"https://api.github.com/users/simpixelated/following{/other_user}","gists_url":"https://api.github.com/users/simpixelated/gists{/gist_id}","starred_url":"https://api.github.com/users/simpixelated/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simpixelated/subscriptions","organizations_url":"https://api.github.com/users/simpixelated/orgs","repos_url":"https://api.github.com/users/simpixelated/repos","events_url":"https://api.github.com/users/simpixelated/events{/privacy}","received_events_url":"https://api.github.com/users/simpixelated/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/simpixelated/slackbot","description":"","fork":false,"url":"https://api.github.com/repos/simpixelated/slackbot","forks_url":"https://api.github.com/repos/simpixelated/slackbot/forks","keys_url":"https://api.github.com/repos/simpixelated/slackbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simpixelated/slackbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simpixelated/slackbot/teams","hooks_url":"https://api.github.com/repos/simpixelated/slackbot/hooks","issue_events_url":"https://api.github.com/repos/simpixelated/slackbot/issues/events{/number}","events_url":"https://api.github.com/repos/simpixelated/slackbot/events","assignees_url":"https://api.github.com/repos/simpixelated/slackbot/assignees{/user}","branches_url":"https://api.github.com/repos/simpixelated/slackbot/branches{/branch}","tags_url":"https://api.github.com/repos/simpixelated/slackbot/tags","blobs_url":"https://api.github.com/repos/simpixelated/slackbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simpixelated/slackbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simpixelated/slackbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/simpixelated/slackbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simpixelated/slackbot/statuses/{sha}","languages_url":"https://api.github.com/repos/simpixelated/slackbot/languages","stargazers_url":"https://api.github.com/repos/simpixelated/slackbot/stargazers","contributors_url":"https://api.github.com/repos/simpixelated/slackbot/contributors","subscribers_url":"https://api.github.com/repos/simpixelated/slackbot/subscribers","subscription_url":"https://api.github.com/repos/simpixelated/slackbot/subscription","commits_url":"https://api.github.com/repos/simpixelated/slackbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/simpixelated/slackbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/simpixelated/slackbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/simpixelated/slackbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/simpixelated/slackbot/contents/{+path}","compare_url":"https://api.github.com/repos/simpixelated/slackbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simpixelated/slackbot/merges","archive_url":"https://api.github.com/repos/simpixelated/slackbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simpixelated/slackbot/downloads","issues_url":"https://api.github.com/repos/simpixelated/slackbot/issues{/number}","pulls_url":"https://api.github.com/repos/simpixelated/slackbot/pulls{/number}","milestones_url":"https://api.github.com/repos/simpixelated/slackbot/milestones{/number}","notifications_url":"https://api.github.com/repos/simpixelated/slackbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simpixelated/slackbot/labels{/name}","releases_url":"https://api.github.com/repos/simpixelated/slackbot/releases{/id}","deployments_url":"https://api.github.com/repos/simpixelated/slackbot/deployments","created_at":"2016-04-09T17:23:24Z","updated_at":"2016-04-09T21:49:29Z","pushed_at":"2016-04-10T22:11:31Z","git_url":"git://github.com/simpixelated/slackbot.git","ssh_url":"git@github.com:simpixelated/slackbot.git","clone_url":"https://github.com/simpixelated/slackbot.git","svn_url":"https://github.com/simpixelated/slackbot","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"simpixelated:master","ref":"master","sha":"58f0f7b1dc70fc9a33fc14878473a61bd704f19f","user":{"login":"simpixelated","id":838282,"avatar_url":"https://avatars.githubusercontent.com/u/838282?v=3","gravatar_id":"","url":"https://api.github.com/users/simpixelated","html_url":"https://github.com/simpixelated","followers_url":"https://api.github.com/users/simpixelated/followers","following_url":"https://api.github.com/users/simpixelated/following{/other_user}","gists_url":"https://api.github.com/users/simpixelated/gists{/gist_id}","starred_url":"https://api.github.com/users/simpixelated/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simpixelated/subscriptions","organizations_url":"https://api.github.com/users/simpixelated/orgs","repos_url":"https://api.github.com/users/simpixelated/repos","events_url":"https://api.github.com/users/simpixelated/events{/privacy}","received_events_url":"https://api.github.com/users/simpixelated/received_events","type":"User","site_admin":false},"repo":{"id":55857467,"name":"slackbot","full_name":"simpixelated/slackbot","owner":{"login":"simpixelated","id":838282,"avatar_url":"https://avatars.githubusercontent.com/u/838282?v=3","gravatar_id":"","url":"https://api.github.com/users/simpixelated","html_url":"https://github.com/simpixelated","followers_url":"https://api.github.com/users/simpixelated/followers","following_url":"https://api.github.com/users/simpixelated/following{/other_user}","gists_url":"https://api.github.com/users/simpixelated/gists{/gist_id}","starred_url":"https://api.github.com/users/simpixelated/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simpixelated/subscriptions","organizations_url":"https://api.github.com/users/simpixelated/orgs","repos_url":"https://api.github.com/users/simpixelated/repos","events_url":"https://api.github.com/users/simpixelated/events{/privacy}","received_events_url":"https://api.github.com/users/simpixelated/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/simpixelated/slackbot","description":"","fork":false,"url":"https://api.github.com/repos/simpixelated/slackbot","forks_url":"https://api.github.com/repos/simpixelated/slackbot/forks","keys_url":"https://api.github.com/repos/simpixelated/slackbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simpixelated/slackbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simpixelated/slackbot/teams","hooks_url":"https://api.github.com/repos/simpixelated/slackbot/hooks","issue_events_url":"https://api.github.com/repos/simpixelated/slackbot/issues/events{/number}","events_url":"https://api.github.com/repos/simpixelated/slackbot/events","assignees_url":"https://api.github.com/repos/simpixelated/slackbot/assignees{/user}","branches_url":"https://api.github.com/repos/simpixelated/slackbot/branches{/branch}","tags_url":"https://api.github.com/repos/simpixelated/slackbot/tags","blobs_url":"https://api.github.com/repos/simpixelated/slackbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simpixelated/slackbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simpixelated/slackbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/simpixelated/slackbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simpixelated/slackbot/statuses/{sha}","languages_url":"https://api.github.com/repos/simpixelated/slackbot/languages","stargazers_url":"https://api.github.com/repos/simpixelated/slackbot/stargazers","contributors_url":"https://api.github.com/repos/simpixelated/slackbot/contributors","subscribers_url":"https://api.github.com/repos/simpixelated/slackbot/subscribers","subscription_url":"https://api.github.com/repos/simpixelated/slackbot/subscription","commits_url":"https://api.github.com/repos/simpixelated/slackbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/simpixelated/slackbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/simpixelated/slackbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/simpixelated/slackbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/simpixelated/slackbot/contents/{+path}","compare_url":"https://api.github.com/repos/simpixelated/slackbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simpixelated/slackbot/merges","archive_url":"https://api.github.com/repos/simpixelated/slackbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simpixelated/slackbot/downloads","issues_url":"https://api.github.com/repos/simpixelated/slackbot/issues{/number}","pulls_url":"https://api.github.com/repos/simpixelated/slackbot/pulls{/number}","milestones_url":"https://api.github.com/repos/simpixelated/slackbot/milestones{/number}","notifications_url":"https://api.github.com/repos/simpixelated/slackbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simpixelated/slackbot/labels{/name}","releases_url":"https://api.github.com/repos/simpixelated/slackbot/releases{/id}","deployments_url":"https://api.github.com/repos/simpixelated/slackbot/deployments","created_at":"2016-04-09T17:23:24Z","updated_at":"2016-04-09T21:49:29Z","pushed_at":"2016-04-10T22:11:31Z","git_url":"git://github.com/simpixelated/slackbot.git","ssh_url":"git@github.com:simpixelated/slackbot.git","clone_url":"https://github.com/simpixelated/slackbot.git","svn_url":"https://github.com/simpixelated/slackbot","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/simpixelated/slackbot/pulls/17"},"html":{"href":"https://github.com/simpixelated/slackbot/pull/17"},"issue":{"href":"https://api.github.com/repos/simpixelated/slackbot/issues/17"},"comments":{"href":"https://api.github.com/repos/simpixelated/slackbot/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/simpixelated/slackbot/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/simpixelated/slackbot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/simpixelated/slackbot/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/simpixelated/slackbot/statuses/500f700861d3af555d22a49e19483cc27b6590da"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":152,"deletions":16,"changed_files":3}}