{"action":"created","issue":{"url":"https://api.github.com/repos/darsain/twitch-giveaways/issues/14","labels_url":"https://api.github.com/repos/darsain/twitch-giveaways/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/darsain/twitch-giveaways/issues/14/comments","events_url":"https://api.github.com/repos/darsain/twitch-giveaways/issues/14/events","html_url":"https://github.com/darsain/twitch-giveaways/pull/14","id":91656734,"number":14,"title":"BTTV fix for detecting messages","user":{"login":"EhsanKia","id":1619970,"avatar_url":"https://avatars.githubusercontent.com/u/1619970?v=3","gravatar_id":"","url":"https://api.github.com/users/EhsanKia","html_url":"https://github.com/EhsanKia","followers_url":"https://api.github.com/users/EhsanKia/followers","following_url":"https://api.github.com/users/EhsanKia/following{/other_user}","gists_url":"https://api.github.com/users/EhsanKia/gists{/gist_id}","starred_url":"https://api.github.com/users/EhsanKia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EhsanKia/subscriptions","organizations_url":"https://api.github.com/users/EhsanKia/orgs","repos_url":"https://api.github.com/users/EhsanKia/repos","events_url":"https://api.github.com/users/EhsanKia/events{/privacy}","received_events_url":"https://api.github.com/users/EhsanKia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-28T23:55:35Z","updated_at":"2015-06-29T09:50:39Z","closed_at":"2015-06-29T09:34:37Z","pull_request":{"url":"https://api.github.com/repos/darsain/twitch-giveaways/pulls/14","html_url":"https://github.com/darsain/twitch-giveaways/pull/14","diff_url":"https://github.com/darsain/twitch-giveaways/pull/14.diff","patch_url":"https://github.com/darsain/twitch-giveaways/pull/14.patch"},"body":"Since @night basically gave the exact solution to #7 and seeing that you seem busy, I decided to pull request the fix myself.\r\n\r\nThe solution is really simple, your code looks for `.chat-line` in the children, but in the case of BTTV, the node itself is the `.chat-line` element, so I just add an extra check for that. Everything else works perfectly fine once we have the right node.\r\n\r\nTested it both with and without BTTV and it works as expected."},"comment":{"url":"https://api.github.com/repos/darsain/twitch-giveaways/issues/comments/116586450","html_url":"https://github.com/darsain/twitch-giveaways/pull/14#issuecomment-116586450","issue_url":"https://api.github.com/repos/darsain/twitch-giveaways/issues/14","id":116586450,"user":{"login":"darsain","id":538801,"avatar_url":"https://avatars.githubusercontent.com/u/538801?v=3","gravatar_id":"","url":"https://api.github.com/users/darsain","html_url":"https://github.com/darsain","followers_url":"https://api.github.com/users/darsain/followers","following_url":"https://api.github.com/users/darsain/following{/other_user}","gists_url":"https://api.github.com/users/darsain/gists{/gist_id}","starred_url":"https://api.github.com/users/darsain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darsain/subscriptions","organizations_url":"https://api.github.com/users/darsain/orgs","repos_url":"https://api.github.com/users/darsain/repos","events_url":"https://api.github.com/users/darsain/events{/privacy}","received_events_url":"https://api.github.com/users/darsain/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T09:50:39Z","updated_at":"2015-06-29T09:50:39Z","body":"Released in 2.4.3"}}