{"action":"created","issue":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/1700","labels_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/1700/labels{/name}","comments_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/1700/comments","events_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/1700/events","html_url":"https://github.com/Zarel/Pokemon-Showdown/pull/1700","id":65344750,"number":1700,"title":"Trivia plugin: fix crash in timer mode scoring","user":{"login":"Morfent","id":6477435,"avatar_url":"https://avatars.githubusercontent.com/u/6477435?v=3","gravatar_id":"","url":"https://api.github.com/users/Morfent","html_url":"https://github.com/Morfent","followers_url":"https://api.github.com/users/Morfent/followers","following_url":"https://api.github.com/users/Morfent/following{/other_user}","gists_url":"https://api.github.com/users/Morfent/gists{/gist_id}","starred_url":"https://api.github.com/users/Morfent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morfent/subscriptions","organizations_url":"https://api.github.com/users/Morfent/orgs","repos_url":"https://api.github.com/users/Morfent/repos","events_url":"https://api.github.com/users/Morfent/events{/privacy}","received_events_url":"https://api.github.com/users/Morfent/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-31T02:08:14Z","updated_at":"2015-04-01T03:35:14Z","closed_at":"2015-03-31T12:17:14Z","pull_request":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1700","html_url":"https://github.com/Zarel/Pokemon-Showdown/pull/1700","diff_url":"https://github.com/Zarel/Pokemon-Showdown/pull/1700.diff","patch_url":"https://github.com/Zarel/Pokemon-Showdown/pull/1700.patch"},"body":"Theoretically, it's possible to get over 5 points from answering if the\r\nanswer was sent before the current question's askedAt is reassigned."},"comment":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/comments/88339942","html_url":"https://github.com/Zarel/Pokemon-Showdown/pull/1700#issuecomment-88339942","issue_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/1700","id":88339942,"user":{"login":"Morfent","id":6477435,"avatar_url":"https://avatars.githubusercontent.com/u/6477435?v=3","gravatar_id":"","url":"https://api.github.com/users/Morfent","html_url":"https://github.com/Morfent","followers_url":"https://api.github.com/users/Morfent/followers","following_url":"https://api.github.com/users/Morfent/following{/other_user}","gists_url":"https://api.github.com/users/Morfent/gists{/gist_id}","starred_url":"https://api.github.com/users/Morfent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morfent/subscriptions","organizations_url":"https://api.github.com/users/Morfent/orgs","repos_url":"https://api.github.com/users/Morfent/repos","events_url":"https://api.github.com/users/Morfent/events{/privacy}","received_events_url":"https://api.github.com/users/Morfent/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T03:35:14Z","updated_at":"2015-04-01T03:35:14Z","body":"``Trivia.timerAnswers`` assumes that ``points`` will always be 1, 2, 3, 4, or 5. A better fix would probably be something along the lines of ``if ([1,2,3,4,5].indexOf(points) < 0)``"}}