{"action":"closed","issue":{"url":"https://api.github.com/repos/davidmann4/ogar-feeder-bot/issues/157","repository_url":"https://api.github.com/repos/davidmann4/ogar-feeder-bot","labels_url":"https://api.github.com/repos/davidmann4/ogar-feeder-bot/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/davidmann4/ogar-feeder-bot/issues/157/comments","events_url":"https://api.github.com/repos/davidmann4/ogar-feeder-bot/issues/157/events","html_url":"https://github.com/davidmann4/ogar-feeder-bot/issues/157","id":132780979,"number":157,"title":"Attach event","user":{"login":"Petterholm","id":16854912,"avatar_url":"https://avatars.githubusercontent.com/u/16854912?v=3","gravatar_id":"","url":"https://api.github.com/users/Petterholm","html_url":"https://github.com/Petterholm","followers_url":"https://api.github.com/users/Petterholm/followers","following_url":"https://api.github.com/users/Petterholm/following{/other_user}","gists_url":"https://api.github.com/users/Petterholm/gists{/gist_id}","starred_url":"https://api.github.com/users/Petterholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Petterholm/subscriptions","organizations_url":"https://api.github.com/users/Petterholm/orgs","repos_url":"https://api.github.com/users/Petterholm/repos","events_url":"https://api.github.com/users/Petterholm/events{/privacy}","received_events_url":"https://api.github.com/users/Petterholm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-10T18:31:23Z","updated_at":"2016-02-17T17:38:28Z","closed_at":"2016-02-17T17:38:28Z","body":"Can someone attach this? : \r\nbot.on('packetError', function(packet, err, preventCrash) {\r\n   bot.log('Packet error detected for packet: ' + packet.toString());\r\n   bot.log('Crash will be prevented, bot will be disconnected');\r\n   preventCrash();\r\n   bot.disconnect();\r\n});"}}