{"action":"created","comment":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/comments/26128289","id":26128289,"diff_hunk":"@@ -740,7 +740,7 @@ var commands = exports.commands = {\n \t\t\treturn this.sendReply(\"User \" + this.targetUsername + \" not found.\");\n \t\t}\n \t\tif (Rooms.rooms[targetRoom.id].users[targetUser.userid]) {\n-\t\t\treturn this.sendReply(\"User \" + targetUser.name + \" is already in the room \" + targetRoom.title + \"!\");\n+\t\t\treturn this.sendReply(\"User \" + targetUser.name + \" is already in the room \" + (targetRoom.title || targetUser.id) + \"!\");","path":"commands.js","position":5,"original_position":5,"commit_id":"5186d665893b1b81b91b9fe3585ca97f78386c33","original_commit_id":"5186d665893b1b81b91b9fe3585ca97f78386c33","user":{"login":"codelegend","id":7265746,"avatar_url":"https://avatars.githubusercontent.com/u/7265746?v=3","gravatar_id":"","url":"https://api.github.com/users/codelegend","html_url":"https://github.com/codelegend","followers_url":"https://api.github.com/users/codelegend/followers","following_url":"https://api.github.com/users/codelegend/following{/other_user}","gists_url":"https://api.github.com/users/codelegend/gists{/gist_id}","starred_url":"https://api.github.com/users/codelegend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codelegend/subscriptions","organizations_url":"https://api.github.com/users/codelegend/orgs","repos_url":"https://api.github.com/users/codelegend/repos","events_url":"https://api.github.com/users/codelegend/events{/privacy}","received_events_url":"https://api.github.com/users/codelegend/received_events","type":"User","site_admin":false},"body":"Did you mean `targetRoom.id` and not `targetUser.id`?","created_at":"2015-03-10T14:52:58Z","updated_at":"2015-03-10T14:52:58Z","html_url":"https://github.com/Zarel/Pokemon-Showdown/pull/1601#discussion_r26128289","pull_request_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1601","_links":{"self":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/comments/26128289"},"html":{"href":"https://github.com/Zarel/Pokemon-Showdown/pull/1601#discussion_r26128289"},"pull_request":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1601"}}},"pull_request":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1601","id":30716452,"html_url":"https://github.com/Zarel/Pokemon-Showdown/pull/1601","diff_url":"https://github.com/Zarel/Pokemon-Showdown/pull/1601.diff","patch_url":"https://github.com/Zarel/Pokemon-Showdown/pull/1601.patch","issue_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/1601","number":1601,"state":"open","locked":false,"title":"Fix /redir to global room message","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":"","created_at":"2015-03-08T08:13:19Z","updated_at":"2015-03-10T14:52:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d8dd4ec74f1769e77d0f0f9c529a3179548b663","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1601/commits","review_comments_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1601/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/1601/comments","statuses_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/statuses/5186d665893b1b81b91b9fe3585ca97f78386c33","head":{"label":"Morfent:redir","ref":"redir","sha":"5186d665893b1b81b91b9fe3585ca97f78386c33","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":"2014-12-24T19:18:18Z","pushed_at":"2015-03-08T08:49:25Z","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":32408,"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":"35c30fb57fb77c95c2d69dc6275191ce8e56536c","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-03-10T11:09:18Z","pushed_at":"2015-03-10T11:09:18Z","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":61099,"stargazers_count":472,"watchers_count":472,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":604,"mirror_url":null,"open_issues_count":32,"forks":604,"open_issues":32,"watchers":472,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1601"},"html":{"href":"https://github.com/Zarel/Pokemon-Showdown/pull/1601"},"issue":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/1601"},"comments":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/1601/comments"},"review_comments":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1601/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/1601/commits"},"statuses":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/statuses/5186d665893b1b81b91b9fe3585ca97f78386c33"}}}}