{"action":"created","issue":{"url":"https://api.github.com/repos/tmijs/tmi.js/issues/16","repository_url":"https://api.github.com/repos/tmijs/tmi.js","labels_url":"https://api.github.com/repos/tmijs/tmi.js/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/tmijs/tmi.js/issues/16/comments","events_url":"https://api.github.com/repos/tmijs/tmi.js/issues/16/events","html_url":"https://github.com/tmijs/tmi.js/issues/16","id":94570026,"number":16,"title":"Client can't say anything, results in error.","user":{"login":"megadrive","id":1149638,"avatar_url":"https://avatars.githubusercontent.com/u/1149638?v=3","gravatar_id":"","url":"https://api.github.com/users/megadrive","html_url":"https://github.com/megadrive","followers_url":"https://api.github.com/users/megadrive/followers","following_url":"https://api.github.com/users/megadrive/following{/other_user}","gists_url":"https://api.github.com/users/megadrive/gists{/gist_id}","starred_url":"https://api.github.com/users/megadrive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megadrive/subscriptions","organizations_url":"https://api.github.com/users/megadrive/orgs","repos_url":"https://api.github.com/users/megadrive/repos","events_url":"https://api.github.com/users/megadrive/events{/privacy}","received_events_url":"https://api.github.com/users/megadrive/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2015-07-12T14:37:45Z","updated_at":"2016-07-21T01:39:20Z","closed_at":"2015-07-26T08:25:23Z","body":"This is the error I get with the current latest codebase (d8c2e47) on Windows 8.1, running node 0.12.7 on npm 2.11.3\r\n\r\n![](http://puu.sh/iWpjO/d17f6f5c50.png)\r\n\r\nwith this code\r\n\r\n```javascript\r\nvar irc = require('tmi.js');\r\n\r\nvar clientOptions = {\r\n\toptions: {\r\n\t    'debug': true,\r\n\t},\r\n\tconnection: {\r\n\t\t'random': 'chat'\r\n\t},\r\n\tidentity: {\r\n\t    'username': 'ozbt',\r\n\t    'password': 'oauth:oauthtoken'\r\n\t},\r\n\t'channels': ['#ozbt']\r\n};\r\n\r\n// Calling a new instance..\r\nvar client = new irc.client(clientOptions);\r\n\r\n// Connect the client to the server..\r\nclient.connect();\r\n\r\nclient.on('connected', function(channel, username, message){\r\n\tclient.say(channel, 'hello');\r\n});\r\n```\r\n\r\nI've tried fixing the code myself, but I'm awful at fixing other people's code, especially when I don't know what it's doing or trying to do. Any suggestions would lovely. Any more information needed, let me know."},"comment":{"url":"https://api.github.com/repos/tmijs/tmi.js/issues/comments/234133799","html_url":"https://github.com/tmijs/tmi.js/issues/16#issuecomment-234133799","issue_url":"https://api.github.com/repos/tmijs/tmi.js/issues/16","id":234133799,"user":{"login":"AlcaDesign","id":7132646,"avatar_url":"https://avatars.githubusercontent.com/u/7132646?v=3","gravatar_id":"","url":"https://api.github.com/users/AlcaDesign","html_url":"https://github.com/AlcaDesign","followers_url":"https://api.github.com/users/AlcaDesign/followers","following_url":"https://api.github.com/users/AlcaDesign/following{/other_user}","gists_url":"https://api.github.com/users/AlcaDesign/gists{/gist_id}","starred_url":"https://api.github.com/users/AlcaDesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlcaDesign/subscriptions","organizations_url":"https://api.github.com/users/AlcaDesign/orgs","repos_url":"https://api.github.com/users/AlcaDesign/repos","events_url":"https://api.github.com/users/AlcaDesign/events{/privacy}","received_events_url":"https://api.github.com/users/AlcaDesign/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T01:39:20Z","updated_at":"2016-07-21T01:39:20Z","body":"@TheHollidayInn, you get the same TypeError? \"Cannot set property of 'message-type' of undefined\" ?"}}
{"actor":{"display_login":"AlcaDesign"}}