{"action":"closed","issue":{"url":"https://api.github.com/repos/kritzware/node-twitchbot/issues/8","repository_url":"https://api.github.com/repos/kritzware/node-twitchbot","labels_url":"https://api.github.com/repos/kritzware/node-twitchbot/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/kritzware/node-twitchbot/issues/8/comments","events_url":"https://api.github.com/repos/kritzware/node-twitchbot/issues/8/events","html_url":"https://github.com/kritzware/node-twitchbot/issues/8","id":182917885,"number":8,"title":"Block-scoped declarations (let, const, etc) break server","user":{"login":"aarohmankad","id":3311321,"avatar_url":"https://avatars.githubusercontent.com/u/3311321?v=3","gravatar_id":"","url":"https://api.github.com/users/aarohmankad","html_url":"https://github.com/aarohmankad","followers_url":"https://api.github.com/users/aarohmankad/followers","following_url":"https://api.github.com/users/aarohmankad/following{/other_user}","gists_url":"https://api.github.com/users/aarohmankad/gists{/gist_id}","starred_url":"https://api.github.com/users/aarohmankad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aarohmankad/subscriptions","organizations_url":"https://api.github.com/users/aarohmankad/orgs","repos_url":"https://api.github.com/users/aarohmankad/repos","events_url":"https://api.github.com/users/aarohmankad/events{/privacy}","received_events_url":"https://api.github.com/users/aarohmankad/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kritzware/node-twitchbot/labels/bug","name":"bug","color":"ee0701"},{"url":"https://api.github.com/repos/kritzware/node-twitchbot/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-13T22:17:23Z","updated_at":"2016-10-13T23:37:55Z","closed_at":"2016-10-13T23:37:55Z","body":"I've found a solution that involves `\"use strict\";` that fixes it.\r\n\r\nI'm not sure as to the cause of it, but from what I've observed, it fixes the issue for people who are encountering it and does nothing to those for whom it was already working.\r\n\r\n![Block-scoped declarations (let, const, function, class) not yet supported outside strict mode](https://cloud.githubusercontent.com/assets/3311321/19369078/0f8cb226-9158-11e6-83e6-4c71977b6b3f.png)\r\n"}}
{"actor":{"display_login":"kritzware"}}