{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/cygni/snakebot-client-js/pulls/8","id":179116206,"html_url":"https://github.com/cygni/snakebot-client-js/pull/8","diff_url":"https://github.com/cygni/snakebot-client-js/pull/8.diff","patch_url":"https://github.com/cygni/snakebot-client-js/pull/8.patch","issue_url":"https://api.github.com/repos/cygni/snakebot-client-js/issues/8","number":8,"state":"closed","locked":false,"title":"v2","user":{"login":"maxdavidson","id":3779535,"avatar_url":"https://avatars0.githubusercontent.com/u/3779535?v=4","gravatar_id":"","url":"https://api.github.com/users/maxdavidson","html_url":"https://github.com/maxdavidson","followers_url":"https://api.github.com/users/maxdavidson/followers","following_url":"https://api.github.com/users/maxdavidson/following{/other_user}","gists_url":"https://api.github.com/users/maxdavidson/gists{/gist_id}","starred_url":"https://api.github.com/users/maxdavidson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxdavidson/subscriptions","organizations_url":"https://api.github.com/users/maxdavidson/orgs","repos_url":"https://api.github.com/users/maxdavidson/repos","events_url":"https://api.github.com/users/maxdavidson/events{/privacy}","received_events_url":"https://api.github.com/users/maxdavidson/received_events","type":"User","site_admin":false},"body":"The current JavaScript snake client is bloated, so let's start over!\r\n\r\n- Written in modern ES2018 (async functions, destructuring, object spread, etc.)\r\n- No unnecessary dependencies, just `ws` for WebSocket support in Node\r\n- Works both as a publishable package and a command line client\r\n- Works both in the browser and in Node\r\n  - Browser support requires server support, see https://github.com/cygni/snakebot/issues/94 \r\n- Uses native ES modules without transpilation\r\n  - Node 8.5.0+ with `--experimental-modules` flag\r\n  - Recent browsers with `<script type=\"module\">`\r\n\r\nTODO:\r\n- [ ] Add some basic documentation in the README\r\n- [ ] More utils?\r\n- [ ] Tests?","created_at":"2018-04-03T14:27:05Z","updated_at":"2018-04-10T10:32:08Z","closed_at":"2018-04-10T10:32:08Z","merged_at":null,"merge_commit_sha":"570c0b14aa424cefdac9213b57836be180036c00","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cygni/snakebot-client-js/pulls/8/commits","review_comments_url":"https://api.github.com/repos/cygni/snakebot-client-js/pulls/8/comments","review_comment_url":"https://api.github.com/repos/cygni/snakebot-client-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cygni/snakebot-client-js/issues/8/comments","statuses_url":"https://api.github.com/repos/cygni/snakebot-client-js/statuses/b569f806a7812dbd0d90a19bb014e5f9c4d6fbed","head":{"label":"maxdavidson:v2","ref":"v2","sha":"b569f806a7812dbd0d90a19bb014e5f9c4d6fbed","user":{"login":"maxdavidson","id":3779535,"avatar_url":"https://avatars0.githubusercontent.com/u/3779535?v=4","gravatar_id":"","url":"https://api.github.com/users/maxdavidson","html_url":"https://github.com/maxdavidson","followers_url":"https://api.github.com/users/maxdavidson/followers","following_url":"https://api.github.com/users/maxdavidson/following{/other_user}","gists_url":"https://api.github.com/users/maxdavidson/gists{/gist_id}","starred_url":"https://api.github.com/users/maxdavidson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxdavidson/subscriptions","organizations_url":"https://api.github.com/users/maxdavidson/orgs","repos_url":"https://api.github.com/users/maxdavidson/repos","events_url":"https://api.github.com/users/maxdavidson/events{/privacy}","received_events_url":"https://api.github.com/users/maxdavidson/received_events","type":"User","site_admin":false},"repo":{"id":124937783,"name":"snakebot-client-js","full_name":"maxdavidson/snakebot-client-js","owner":{"login":"maxdavidson","id":3779535,"avatar_url":"https://avatars0.githubusercontent.com/u/3779535?v=4","gravatar_id":"","url":"https://api.github.com/users/maxdavidson","html_url":"https://github.com/maxdavidson","followers_url":"https://api.github.com/users/maxdavidson/followers","following_url":"https://api.github.com/users/maxdavidson/following{/other_user}","gists_url":"https://api.github.com/users/maxdavidson/gists{/gist_id}","starred_url":"https://api.github.com/users/maxdavidson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxdavidson/subscriptions","organizations_url":"https://api.github.com/users/maxdavidson/orgs","repos_url":"https://api.github.com/users/maxdavidson/repos","events_url":"https://api.github.com/users/maxdavidson/events{/privacy}","received_events_url":"https://api.github.com/users/maxdavidson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maxdavidson/snakebot-client-js","description":null,"fork":true,"url":"https://api.github.com/repos/maxdavidson/snakebot-client-js","forks_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/forks","keys_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/teams","hooks_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/hooks","issue_events_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/issues/events{/number}","events_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/events","assignees_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/assignees{/user}","branches_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/branches{/branch}","tags_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/tags","blobs_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/statuses/{sha}","languages_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/languages","stargazers_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/stargazers","contributors_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/contributors","subscribers_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/subscribers","subscription_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/subscription","commits_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/contents/{+path}","compare_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/merges","archive_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/downloads","issues_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/issues{/number}","pulls_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/pulls{/number}","milestones_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/milestones{/number}","notifications_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/labels{/name}","releases_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/releases{/id}","deployments_url":"https://api.github.com/repos/maxdavidson/snakebot-client-js/deployments","created_at":"2018-03-12T19:06:17Z","updated_at":"2018-03-12T19:06:19Z","pushed_at":"2018-04-09T22:00:55Z","git_url":"git://github.com/maxdavidson/snakebot-client-js.git","ssh_url":"git@github.com:maxdavidson/snakebot-client-js.git","clone_url":"https://github.com/maxdavidson/snakebot-client-js.git","svn_url":"https://github.com/maxdavidson/snakebot-client-js","homepage":null,"size":858,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cygni:master","ref":"master","sha":"69f0dbbc24f27a894107ba4300cdaf081236ba5f","user":{"login":"cygni","id":205992,"avatar_url":"https://avatars1.githubusercontent.com/u/205992?v=4","gravatar_id":"","url":"https://api.github.com/users/cygni","html_url":"https://github.com/cygni","followers_url":"https://api.github.com/users/cygni/followers","following_url":"https://api.github.com/users/cygni/following{/other_user}","gists_url":"https://api.github.com/users/cygni/gists{/gist_id}","starred_url":"https://api.github.com/users/cygni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cygni/subscriptions","organizations_url":"https://api.github.com/users/cygni/orgs","repos_url":"https://api.github.com/users/cygni/repos","events_url":"https://api.github.com/users/cygni/events{/privacy}","received_events_url":"https://api.github.com/users/cygni/received_events","type":"Organization","site_admin":false},"repo":{"id":62838006,"name":"snakebot-client-js","full_name":"cygni/snakebot-client-js","owner":{"login":"cygni","id":205992,"avatar_url":"https://avatars1.githubusercontent.com/u/205992?v=4","gravatar_id":"","url":"https://api.github.com/users/cygni","html_url":"https://github.com/cygni","followers_url":"https://api.github.com/users/cygni/followers","following_url":"https://api.github.com/users/cygni/following{/other_user}","gists_url":"https://api.github.com/users/cygni/gists{/gist_id}","starred_url":"https://api.github.com/users/cygni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cygni/subscriptions","organizations_url":"https://api.github.com/users/cygni/orgs","repos_url":"https://api.github.com/users/cygni/repos","events_url":"https://api.github.com/users/cygni/events{/privacy}","received_events_url":"https://api.github.com/users/cygni/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cygni/snakebot-client-js","description":null,"fork":false,"url":"https://api.github.com/repos/cygni/snakebot-client-js","forks_url":"https://api.github.com/repos/cygni/snakebot-client-js/forks","keys_url":"https://api.github.com/repos/cygni/snakebot-client-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cygni/snakebot-client-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cygni/snakebot-client-js/teams","hooks_url":"https://api.github.com/repos/cygni/snakebot-client-js/hooks","issue_events_url":"https://api.github.com/repos/cygni/snakebot-client-js/issues/events{/number}","events_url":"https://api.github.com/repos/cygni/snakebot-client-js/events","assignees_url":"https://api.github.com/repos/cygni/snakebot-client-js/assignees{/user}","branches_url":"https://api.github.com/repos/cygni/snakebot-client-js/branches{/branch}","tags_url":"https://api.github.com/repos/cygni/snakebot-client-js/tags","blobs_url":"https://api.github.com/repos/cygni/snakebot-client-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cygni/snakebot-client-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cygni/snakebot-client-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/cygni/snakebot-client-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cygni/snakebot-client-js/statuses/{sha}","languages_url":"https://api.github.com/repos/cygni/snakebot-client-js/languages","stargazers_url":"https://api.github.com/repos/cygni/snakebot-client-js/stargazers","contributors_url":"https://api.github.com/repos/cygni/snakebot-client-js/contributors","subscribers_url":"https://api.github.com/repos/cygni/snakebot-client-js/subscribers","subscription_url":"https://api.github.com/repos/cygni/snakebot-client-js/subscription","commits_url":"https://api.github.com/repos/cygni/snakebot-client-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/cygni/snakebot-client-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/cygni/snakebot-client-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/cygni/snakebot-client-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/cygni/snakebot-client-js/contents/{+path}","compare_url":"https://api.github.com/repos/cygni/snakebot-client-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cygni/snakebot-client-js/merges","archive_url":"https://api.github.com/repos/cygni/snakebot-client-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cygni/snakebot-client-js/downloads","issues_url":"https://api.github.com/repos/cygni/snakebot-client-js/issues{/number}","pulls_url":"https://api.github.com/repos/cygni/snakebot-client-js/pulls{/number}","milestones_url":"https://api.github.com/repos/cygni/snakebot-client-js/milestones{/number}","notifications_url":"https://api.github.com/repos/cygni/snakebot-client-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cygni/snakebot-client-js/labels{/name}","releases_url":"https://api.github.com/repos/cygni/snakebot-client-js/releases{/id}","deployments_url":"https://api.github.com/repos/cygni/snakebot-client-js/deployments","created_at":"2016-07-07T21:03:26Z","updated_at":"2017-10-31T09:52:59Z","pushed_at":"2018-04-10T10:30:16Z","git_url":"git://github.com/cygni/snakebot-client-js.git","ssh_url":"git@github.com:cygni/snakebot-client-js.git","clone_url":"https://github.com/cygni/snakebot-client-js.git","svn_url":"https://github.com/cygni/snakebot-client-js","homepage":null,"size":891,"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":2,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":2,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cygni/snakebot-client-js/pulls/8"},"html":{"href":"https://github.com/cygni/snakebot-client-js/pull/8"},"issue":{"href":"https://api.github.com/repos/cygni/snakebot-client-js/issues/8"},"comments":{"href":"https://api.github.com/repos/cygni/snakebot-client-js/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/cygni/snakebot-client-js/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/cygni/snakebot-client-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cygni/snakebot-client-js/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/cygni/snakebot-client-js/statuses/b569f806a7812dbd0d90a19bb014e5f9c4d6fbed"}},"author_association":"NONE","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":684,"deletions":7461,"changed_files":79}}
{"actor":{"display_login":"emilb"}}