{"action":"created","issue":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown-Client/issues/1379","repository_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown-Client","labels_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown-Client/issues/1379/labels{/name}","comments_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown-Client/issues/1379/comments","events_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown-Client/issues/1379/events","html_url":"https://github.com/Zarel/Pokemon-Showdown-Client/pull/1379","id":500125070,"node_id":"MDExOlB1bGxSZXF1ZXN0MzIyNjU3NTIx","number":1379,"title":"Fix broken avatar change messsage when using avatar numbers","user":{"login":"asgdf","id":5814184,"node_id":"MDQ6VXNlcjU4MTQxODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5814184?v=4","gravatar_id":"","url":"https://api.github.com/users/asgdf","html_url":"https://github.com/asgdf","followers_url":"https://api.github.com/users/asgdf/followers","following_url":"https://api.github.com/users/asgdf/following{/other_user}","gists_url":"https://api.github.com/users/asgdf/gists{/gist_id}","starred_url":"https://api.github.com/users/asgdf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asgdf/subscriptions","organizations_url":"https://api.github.com/users/asgdf/orgs","repos_url":"https://api.github.com/users/asgdf/repos","events_url":"https://api.github.com/users/asgdf/events{/privacy}","received_events_url":"https://api.github.com/users/asgdf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-09-30T08:22:37Z","updated_at":"2019-09-30T08:41:11Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown-Client/pulls/1379","html_url":"https://github.com/Zarel/Pokemon-Showdown-Client/pull/1379","diff_url":"https://github.com/Zarel/Pokemon-Showdown-Client/pull/1379.diff","patch_url":"https://github.com/Zarel/Pokemon-Showdown-Client/pull/1379.patch"},"body":"When changing your avatar with /avatar [number], or when using the popup menu to select one, the success message has a broken image:\r\n![image](https://user-images.githubusercontent.com/5814184/65861000-bc335f80-e36b-11e9-81e9-2773976539a6.png)\r\nbecause it sends the avatar number directly to the server, and avatars are organized by name instead of number now, so the server has no way to display the new avatar. This way we'd just always send the name."},"comment":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown-Client/issues/comments/536463344","html_url":"https://github.com/Zarel/Pokemon-Showdown-Client/pull/1379#issuecomment-536463344","issue_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown-Client/issues/1379","id":536463344,"node_id":"MDEyOklzc3VlQ29tbWVudDUzNjQ2MzM0NA==","user":{"login":"asgdf","id":5814184,"node_id":"MDQ6VXNlcjU4MTQxODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5814184?v=4","gravatar_id":"","url":"https://api.github.com/users/asgdf","html_url":"https://github.com/asgdf","followers_url":"https://api.github.com/users/asgdf/followers","following_url":"https://api.github.com/users/asgdf/following{/other_user}","gists_url":"https://api.github.com/users/asgdf/gists{/gist_id}","starred_url":"https://api.github.com/users/asgdf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asgdf/subscriptions","organizations_url":"https://api.github.com/users/asgdf/orgs","repos_url":"https://api.github.com/users/asgdf/repos","events_url":"https://api.github.com/users/asgdf/events{/privacy}","received_events_url":"https://api.github.com/users/asgdf/received_events","type":"User","site_admin":false},"created_at":"2019-09-30T08:41:11Z","updated_at":"2019-09-30T08:41:11Z","author_association":"CONTRIBUTOR","body":"Okay I guess I can use window.BattleAvatarNumbers instead, although that seems clunky.\r\nDo I need to use `Object.hasOwnProperty.call(window.BattleAvatarNumbers, avatar)` or something for the other issue"}}
{"actor":{"display_login":"asgdf"}}