{"action":"created","issue":{"url":"https://api.github.com/repos/Efreak/node-steam-chat-bot/issues/65","labels_url":"https://api.github.com/repos/Efreak/node-steam-chat-bot/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/Efreak/node-steam-chat-bot/issues/65/comments","events_url":"https://api.github.com/repos/Efreak/node-steam-chat-bot/issues/65/events","html_url":"https://github.com/Efreak/node-steam-chat-bot/issues/65","id":77110961,"number":65,"title":"_onAnnouncement crashes bot","user":{"login":"Efreak","id":749751,"avatar_url":"https://avatars.githubusercontent.com/u/749751?v=3","gravatar_id":"","url":"https://api.github.com/users/Efreak","html_url":"https://github.com/Efreak","followers_url":"https://api.github.com/users/Efreak/followers","following_url":"https://api.github.com/users/Efreak/following{/other_user}","gists_url":"https://api.github.com/users/Efreak/gists{/gist_id}","starred_url":"https://api.github.com/users/Efreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Efreak/subscriptions","organizations_url":"https://api.github.com/users/Efreak/orgs","repos_url":"https://api.github.com/users/Efreak/repos","events_url":"https://api.github.com/users/Efreak/events{/privacy}","received_events_url":"https://api.github.com/users/Efreak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"Efreak","id":749751,"avatar_url":"https://avatars.githubusercontent.com/u/749751?v=3","gravatar_id":"","url":"https://api.github.com/users/Efreak","html_url":"https://github.com/Efreak","followers_url":"https://api.github.com/users/Efreak/followers","following_url":"https://api.github.com/users/Efreak/following{/other_user}","gists_url":"https://api.github.com/users/Efreak/gists{/gist_id}","starred_url":"https://api.github.com/users/Efreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Efreak/subscriptions","organizations_url":"https://api.github.com/users/Efreak/orgs","repos_url":"https://api.github.com/users/Efreak/repos","events_url":"https://api.github.com/users/Efreak/events{/privacy}","received_events_url":"https://api.github.com/users/Efreak/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-05-16T19:34:30Z","updated_at":"2015-05-16T19:58:49Z","closed_at":"2015-05-16T19:58:49Z","body":"For now, fix this. After that, add more error handling.\r\n\r\n````javascript\r\n/home/chatbots/node_modules/steam-chat-bot/lib/chatBot.js:141\r\n function(groupID, headline) { that._onAnnouncement(that.maingroup, headLine);\r\n                                                                    ^\r\nReferenceError: headLine is not defined\r\n    at SteamClient.<anonymous> (/home/chatbots/node_modules/steam-chat-bot/lib/chatBot.js:141:108)\r\n    at SteamClient.emit (events.js:110:17)\r\n    at SteamClient.handlers.(anonymous function) (/home/chatbots/node_modules/steam-chat-bot/node_modules/steam/lib/handlers/friends.js:319:10)\r\n    at SteamClient._netMsgReceived (/home/chatbots/node_modules/steam-chat-bot/node_modules/steam/lib/steam_client.js:106:26)\r\n    at SteamClient.handlers.(anonymous function) (/home/chatbots/node_modules/steam-chat-bot/node_modules/steam/lib/steam_client.js:192:10)\r\n    at SteamClient._netMsgReceived (/home/chatbots/node_modules/steam-chat-bot/node_modules/steam/lib/steam_client.js:106:26)\r\n    at Connection.emit (events.js:107:17)\r\n    at Connection._readPacket (/home/chatbots/node_modules/steam-chat-bot/node_modules/steam/lib/connection.js:50:8)\r\n    at Connection.emit (events.js:104:17)\r\n    at emitReadable_ (_stream_readable.js:424:10)\r\n````"},"comment":{"url":"https://api.github.com/repos/Efreak/node-steam-chat-bot/issues/comments/102671824","html_url":"https://github.com/Efreak/node-steam-chat-bot/issues/65#issuecomment-102671824","issue_url":"https://api.github.com/repos/Efreak/node-steam-chat-bot/issues/65","id":102671824,"user":{"login":"dragonbanshee","id":9405706,"avatar_url":"https://avatars.githubusercontent.com/u/9405706?v=3","gravatar_id":"","url":"https://api.github.com/users/dragonbanshee","html_url":"https://github.com/dragonbanshee","followers_url":"https://api.github.com/users/dragonbanshee/followers","following_url":"https://api.github.com/users/dragonbanshee/following{/other_user}","gists_url":"https://api.github.com/users/dragonbanshee/gists{/gist_id}","starred_url":"https://api.github.com/users/dragonbanshee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragonbanshee/subscriptions","organizations_url":"https://api.github.com/users/dragonbanshee/orgs","repos_url":"https://api.github.com/users/dragonbanshee/repos","events_url":"https://api.github.com/users/dragonbanshee/events{/privacy}","received_events_url":"https://api.github.com/users/dragonbanshee/received_events","type":"User","site_admin":false},"created_at":"2015-05-16T19:58:49Z","updated_at":"2015-05-16T19:58:49Z","body":"Fixed\r\n\r\nhttps://github.com/Efreak/node-steam-chat-bot/commit/7c5332f3b43ce44f86921acbb0383afde808b59b"}}