{"action":"created","issue":{"url":"https://api.github.com/repos/tmijs/tmi.js/issues/198","repository_url":"https://api.github.com/repos/tmijs/tmi.js","labels_url":"https://api.github.com/repos/tmijs/tmi.js/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/tmijs/tmi.js/issues/198/comments","events_url":"https://api.github.com/repos/tmijs/tmi.js/issues/198/events","html_url":"https://github.com/tmijs/tmi.js/pull/198","id":196314597,"number":198,"title":"client: add userstate to resub events - fixes #191","user":{"login":"d-fischer","id":5854687,"avatar_url":"https://avatars.githubusercontent.com/u/5854687?v=3","gravatar_id":"","url":"https://api.github.com/users/d-fischer","html_url":"https://github.com/d-fischer","followers_url":"https://api.github.com/users/d-fischer/followers","following_url":"https://api.github.com/users/d-fischer/following{/other_user}","gists_url":"https://api.github.com/users/d-fischer/gists{/gist_id}","starred_url":"https://api.github.com/users/d-fischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d-fischer/subscriptions","organizations_url":"https://api.github.com/users/d-fischer/orgs","repos_url":"https://api.github.com/users/d-fischer/repos","events_url":"https://api.github.com/users/d-fischer/events{/privacy}","received_events_url":"https://api.github.com/users/d-fischer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-19T01:36:54Z","updated_at":"2016-12-20T12:36:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tmijs/tmi.js/pulls/198","html_url":"https://github.com/tmijs/tmi.js/pull/198","diff_url":"https://github.com/tmijs/tmi.js/pull/198.diff","patch_url":"https://github.com/tmijs/tmi.js/pull/198.patch"},"body":"After the discussion in #191, I've decided that the first option would be the most sane one. Just did it right here, added the userstate as fifth parameter to the resub events, to allow users to get the details of the message (emotes, display name, ...) without breaking backwards compatibility.\r\n\r\nThe tests didn't run at all on my machine, hope they are okay."},"comment":{"url":"https://api.github.com/repos/tmijs/tmi.js/issues/comments/268233047","html_url":"https://github.com/tmijs/tmi.js/pull/198#issuecomment-268233047","issue_url":"https://api.github.com/repos/tmijs/tmi.js/issues/198","id":268233047,"user":{"login":"d-fischer","id":5854687,"avatar_url":"https://avatars.githubusercontent.com/u/5854687?v=3","gravatar_id":"","url":"https://api.github.com/users/d-fischer","html_url":"https://github.com/d-fischer","followers_url":"https://api.github.com/users/d-fischer/followers","following_url":"https://api.github.com/users/d-fischer/following{/other_user}","gists_url":"https://api.github.com/users/d-fischer/gists{/gist_id}","starred_url":"https://api.github.com/users/d-fischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d-fischer/subscriptions","organizations_url":"https://api.github.com/users/d-fischer/orgs","repos_url":"https://api.github.com/users/d-fischer/repos","events_url":"https://api.github.com/users/d-fischer/events{/privacy}","received_events_url":"https://api.github.com/users/d-fischer/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T12:36:14Z","updated_at":"2016-12-20T12:36:14Z","body":"Oh, by the way, that still doesn't invalidate my point about tag escaping. What we're doing in the \"ban-reason\" tag should actually be done globally, over ALL tags."}}
{"actor":{"display_login":"d-fischer"}}