{"action":"created","comment":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/comments/27838394","id":27838394,"diff_hunk":"@@ -794,6 +794,7 @@ var commands = {\n \t\t\tif (params.length < 1) {\n \t\t\t\treturn this.sendReply(\"Usage: \" + cmd + \" <minutes|off>\");\n \t\t\t}\n+\t\t\tif (params[0] === 'Infinity' || params[0] === '0') params[0] = 'off';","path":"tournaments/index.js","position":4,"original_position":4,"commit_id":"170132789b2739069299443209022670a6edbf52","original_commit_id":"170132789b2739069299443209022670a6edbf52","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},"body":"Because they're parsed as NaN. ``Infinity``'s the only case where it parses as Infinity","created_at":"2015-04-06T22:52:15Z","updated_at":"2015-04-06T22:52:15Z","html_url":"https://github.com/Zarel/Pokemon-Showdown/pull/1711#discussion_r27838394","pull_request_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1711","_links":{"self":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/comments/27838394"},"html":{"href":"https://github.com/Zarel/Pokemon-Showdown/pull/1711#discussion_r27838394"},"pull_request":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1711"}}},"pull_request":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1711","id":32516779,"html_url":"https://github.com/Zarel/Pokemon-Showdown/pull/1711","diff_url":"https://github.com/Zarel/Pokemon-Showdown/pull/1711.diff","patch_url":"https://github.com/Zarel/Pokemon-Showdown/pull/1711.patch","issue_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/1711","number":1711,"state":"open","locked":false,"title":"Refactor /tour autodq","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},"body":"Infinity and -Infinity are no longer valid settings. The command now\r\nuses 0 instead of Infinity to turn off the timer.","created_at":"2015-04-02T14:34:57Z","updated_at":"2015-04-06T22:52:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1bd7cd1f8641e2561ec979b3be77c8efdae5a3f2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1711/commits","review_comments_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1711/comments","review_comment_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/1711/comments","statuses_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/statuses/170132789b2739069299443209022670a6edbf52","head":{"label":"Morfent:tourautodq","ref":"tourautodq","sha":"170132789b2739069299443209022670a6edbf52","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},"repo":{"id":16159065,"name":"Pokemon-Showdown","full_name":"Morfent/Pokemon-Showdown","owner":{"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},"private":false,"html_url":"https://github.com/Morfent/Pokemon-Showdown","description":"Pokémon battle simulator.","fork":true,"url":"https://api.github.com/repos/Morfent/Pokemon-Showdown","forks_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/forks","keys_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/teams","hooks_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/hooks","issue_events_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/issues/events{/number}","events_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/events","assignees_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/assignees{/user}","branches_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/branches{/branch}","tags_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/tags","blobs_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/git/refs{/sha}","trees_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/statuses/{sha}","languages_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/languages","stargazers_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/stargazers","contributors_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/contributors","subscribers_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/subscribers","subscription_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/subscription","commits_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/commits{/sha}","git_commits_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/git/commits{/sha}","comments_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/comments{/number}","issue_comment_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/issues/comments{/number}","contents_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/contents/{+path}","compare_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/merges","archive_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/downloads","issues_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/issues{/number}","pulls_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/pulls{/number}","milestones_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/milestones{/number}","notifications_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/labels{/name}","releases_url":"https://api.github.com/repos/Morfent/Pokemon-Showdown/releases{/id}","created_at":"2014-01-23T01:56:02Z","updated_at":"2015-04-02T13:03:59Z","pushed_at":"2015-04-06T22:45:36Z","git_url":"git://github.com/Morfent/Pokemon-Showdown.git","ssh_url":"git@github.com:Morfent/Pokemon-Showdown.git","clone_url":"https://github.com/Morfent/Pokemon-Showdown.git","svn_url":"https://github.com/Morfent/Pokemon-Showdown","homepage":"http://pokemonshowdown.com","size":34713,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Zarel:master","ref":"master","sha":"9c0288a2f34cea391e88a63e1bfdc2415ab2eccf","user":{"login":"Zarel","id":551184,"avatar_url":"https://avatars.githubusercontent.com/u/551184?v=3","gravatar_id":"","url":"https://api.github.com/users/Zarel","html_url":"https://github.com/Zarel","followers_url":"https://api.github.com/users/Zarel/followers","following_url":"https://api.github.com/users/Zarel/following{/other_user}","gists_url":"https://api.github.com/users/Zarel/gists{/gist_id}","starred_url":"https://api.github.com/users/Zarel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zarel/subscriptions","organizations_url":"https://api.github.com/users/Zarel/orgs","repos_url":"https://api.github.com/users/Zarel/repos","events_url":"https://api.github.com/users/Zarel/events{/privacy}","received_events_url":"https://api.github.com/users/Zarel/received_events","type":"User","site_admin":false},"repo":{"id":3038446,"name":"Pokemon-Showdown","full_name":"Zarel/Pokemon-Showdown","owner":{"login":"Zarel","id":551184,"avatar_url":"https://avatars.githubusercontent.com/u/551184?v=3","gravatar_id":"","url":"https://api.github.com/users/Zarel","html_url":"https://github.com/Zarel","followers_url":"https://api.github.com/users/Zarel/followers","following_url":"https://api.github.com/users/Zarel/following{/other_user}","gists_url":"https://api.github.com/users/Zarel/gists{/gist_id}","starred_url":"https://api.github.com/users/Zarel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zarel/subscriptions","organizations_url":"https://api.github.com/users/Zarel/orgs","repos_url":"https://api.github.com/users/Zarel/repos","events_url":"https://api.github.com/users/Zarel/events{/privacy}","received_events_url":"https://api.github.com/users/Zarel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Zarel/Pokemon-Showdown","description":"Pokémon battle simulator.","fork":false,"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown","forks_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/forks","keys_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/teams","hooks_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/hooks","issue_events_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/events{/number}","events_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/events","assignees_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/assignees{/user}","branches_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/branches{/branch}","tags_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/tags","blobs_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/git/refs{/sha}","trees_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/statuses/{sha}","languages_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/languages","stargazers_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/stargazers","contributors_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/contributors","subscribers_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/subscribers","subscription_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/subscription","commits_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/commits{/sha}","git_commits_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/git/commits{/sha}","comments_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/comments{/number}","issue_comment_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/comments{/number}","contents_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/contents/{+path}","compare_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/merges","archive_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/downloads","issues_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues{/number}","pulls_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls{/number}","milestones_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/milestones{/number}","notifications_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/labels{/name}","releases_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/releases{/id}","created_at":"2011-12-23T04:52:33Z","updated_at":"2015-04-06T19:51:31Z","pushed_at":"2015-04-06T22:38:13Z","git_url":"git://github.com/Zarel/Pokemon-Showdown.git","ssh_url":"git@github.com:Zarel/Pokemon-Showdown.git","clone_url":"https://github.com/Zarel/Pokemon-Showdown.git","svn_url":"https://github.com/Zarel/Pokemon-Showdown","homepage":"http://pokemonshowdown.com","size":67003,"stargazers_count":485,"watchers_count":485,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":630,"mirror_url":null,"open_issues_count":28,"forks":630,"open_issues":28,"watchers":485,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1711"},"html":{"href":"https://github.com/Zarel/Pokemon-Showdown/pull/1711"},"issue":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/1711"},"comments":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/1711/comments"},"review_comments":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1711/comments"},"review_comment":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1711/commits"},"statuses":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/statuses/170132789b2739069299443209022670a6edbf52"}}}}