{"action":"created","comment":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/comments/89475636","pull_request_review_id":10020299,"id":89475636,"diff_hunk":"@@ -2023,16 +2023,17 @@ exports.commands = {\n \t\tlet targetUser = this.targetUser;\n \n \t\tif (!targetUser) {\n-\t\t\treturn this.errorReply(\"User '\" + this.targetUsername + \"' not found.\");\n+\t\t\treturn this.errorReply(`User '${this.targetUsername}' not found.`);\n \t\t}\n \t\tif (!this.can('forcerename', targetUser)) return false;\n-\t\tif (targetUser.namelocked) return this.errorReply(\"User '\" + target + \"' is already namelocked.\");\n+\t\tif (targetUser.namelocked) return this.errorReply(`User '${target}' is already namelocked.`);\n \n-\t\tthis.addModCommand(\"\" + targetUser.name + \" was namelocked by \" + user.name + \".\" + (reason ? \" (\" + reason + \")\" : \"\"));\n-\t\tthis.globalModlog(\"NAMELOCK\", targetUser, \" by \" + user.name + (reason ? \": \" + reason : \"\"));\n+\t\tif (!reason) reason = '';","path":"chat-commands.js","position":13,"original_position":13,"commit_id":"dce727f60246413019b8eed5f33814690e4274fc","original_commit_id":"dce727f60246413019b8eed5f33814690e4274fc","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},"body":"???","created_at":"2016-11-24T10:55:52Z","updated_at":"2016-11-24T10:55:52Z","html_url":"https://github.com/Zarel/Pokemon-Showdown/pull/2941#discussion_r89475636","pull_request_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/2941","_links":{"self":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/comments/89475636"},"html":{"href":"https://github.com/Zarel/Pokemon-Showdown/pull/2941#discussion_r89475636"},"pull_request":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/2941"}}},"pull_request":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/2941","id":95122402,"html_url":"https://github.com/Zarel/Pokemon-Showdown/pull/2941","diff_url":"https://github.com/Zarel/Pokemon-Showdown/pull/2941.diff","patch_url":"https://github.com/Zarel/Pokemon-Showdown/pull/2941.patch","issue_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/2941","number":2941,"state":"open","locked":false,"title":"Namelock: Modlog IP & string standards","user":{"login":"panpawn","id":5314189,"avatar_url":"https://avatars.githubusercontent.com/u/5314189?v=3","gravatar_id":"","url":"https://api.github.com/users/panpawn","html_url":"https://github.com/panpawn","followers_url":"https://api.github.com/users/panpawn/followers","following_url":"https://api.github.com/users/panpawn/following{/other_user}","gists_url":"https://api.github.com/users/panpawn/gists{/gist_id}","starred_url":"https://api.github.com/users/panpawn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panpawn/subscriptions","organizations_url":"https://api.github.com/users/panpawn/orgs","repos_url":"https://api.github.com/users/panpawn/repos","events_url":"https://api.github.com/users/panpawn/events{/privacy}","received_events_url":"https://api.github.com/users/panpawn/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-24T06:13:39Z","updated_at":"2016-11-24T10:55:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"edd907c08a1c23ab40f87aad589c366dc308066c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/2941/commits","review_comments_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/2941/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/2941/comments","statuses_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/statuses/dce727f60246413019b8eed5f33814690e4274fc","head":{"label":"panpawn:patch-232","ref":"patch-232","sha":"dce727f60246413019b8eed5f33814690e4274fc","user":{"login":"panpawn","id":5314189,"avatar_url":"https://avatars.githubusercontent.com/u/5314189?v=3","gravatar_id":"","url":"https://api.github.com/users/panpawn","html_url":"https://github.com/panpawn","followers_url":"https://api.github.com/users/panpawn/followers","following_url":"https://api.github.com/users/panpawn/following{/other_user}","gists_url":"https://api.github.com/users/panpawn/gists{/gist_id}","starred_url":"https://api.github.com/users/panpawn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panpawn/subscriptions","organizations_url":"https://api.github.com/users/panpawn/orgs","repos_url":"https://api.github.com/users/panpawn/repos","events_url":"https://api.github.com/users/panpawn/events{/privacy}","received_events_url":"https://api.github.com/users/panpawn/received_events","type":"User","site_admin":false},"repo":{"id":12385273,"name":"Gold-Server","full_name":"panpawn/Gold-Server","owner":{"login":"panpawn","id":5314189,"avatar_url":"https://avatars.githubusercontent.com/u/5314189?v=3","gravatar_id":"","url":"https://api.github.com/users/panpawn","html_url":"https://github.com/panpawn","followers_url":"https://api.github.com/users/panpawn/followers","following_url":"https://api.github.com/users/panpawn/following{/other_user}","gists_url":"https://api.github.com/users/panpawn/gists{/gist_id}","starred_url":"https://api.github.com/users/panpawn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panpawn/subscriptions","organizations_url":"https://api.github.com/users/panpawn/orgs","repos_url":"https://api.github.com/users/panpawn/repos","events_url":"https://api.github.com/users/panpawn/events{/privacy}","received_events_url":"https://api.github.com/users/panpawn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/panpawn/Gold-Server","description":"Pokémon battle simulator.","fork":true,"url":"https://api.github.com/repos/panpawn/Gold-Server","forks_url":"https://api.github.com/repos/panpawn/Gold-Server/forks","keys_url":"https://api.github.com/repos/panpawn/Gold-Server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/panpawn/Gold-Server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/panpawn/Gold-Server/teams","hooks_url":"https://api.github.com/repos/panpawn/Gold-Server/hooks","issue_events_url":"https://api.github.com/repos/panpawn/Gold-Server/issues/events{/number}","events_url":"https://api.github.com/repos/panpawn/Gold-Server/events","assignees_url":"https://api.github.com/repos/panpawn/Gold-Server/assignees{/user}","branches_url":"https://api.github.com/repos/panpawn/Gold-Server/branches{/branch}","tags_url":"https://api.github.com/repos/panpawn/Gold-Server/tags","blobs_url":"https://api.github.com/repos/panpawn/Gold-Server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/panpawn/Gold-Server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/panpawn/Gold-Server/git/refs{/sha}","trees_url":"https://api.github.com/repos/panpawn/Gold-Server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/panpawn/Gold-Server/statuses/{sha}","languages_url":"https://api.github.com/repos/panpawn/Gold-Server/languages","stargazers_url":"https://api.github.com/repos/panpawn/Gold-Server/stargazers","contributors_url":"https://api.github.com/repos/panpawn/Gold-Server/contributors","subscribers_url":"https://api.github.com/repos/panpawn/Gold-Server/subscribers","subscription_url":"https://api.github.com/repos/panpawn/Gold-Server/subscription","commits_url":"https://api.github.com/repos/panpawn/Gold-Server/commits{/sha}","git_commits_url":"https://api.github.com/repos/panpawn/Gold-Server/git/commits{/sha}","comments_url":"https://api.github.com/repos/panpawn/Gold-Server/comments{/number}","issue_comment_url":"https://api.github.com/repos/panpawn/Gold-Server/issues/comments{/number}","contents_url":"https://api.github.com/repos/panpawn/Gold-Server/contents/{+path}","compare_url":"https://api.github.com/repos/panpawn/Gold-Server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/panpawn/Gold-Server/merges","archive_url":"https://api.github.com/repos/panpawn/Gold-Server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/panpawn/Gold-Server/downloads","issues_url":"https://api.github.com/repos/panpawn/Gold-Server/issues{/number}","pulls_url":"https://api.github.com/repos/panpawn/Gold-Server/pulls{/number}","milestones_url":"https://api.github.com/repos/panpawn/Gold-Server/milestones{/number}","notifications_url":"https://api.github.com/repos/panpawn/Gold-Server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/panpawn/Gold-Server/labels{/name}","releases_url":"https://api.github.com/repos/panpawn/Gold-Server/releases{/id}","deployments_url":"https://api.github.com/repos/panpawn/Gold-Server/deployments","created_at":"2013-08-26T17:30:38Z","updated_at":"2016-10-22T02:44:17Z","pushed_at":"2016-11-24T06:05:43Z","git_url":"git://github.com/panpawn/Gold-Server.git","ssh_url":"git@github.com:panpawn/Gold-Server.git","clone_url":"https://github.com/panpawn/Gold-Server.git","svn_url":"https://github.com/panpawn/Gold-Server","homepage":"http://gold.psim.us","size":66326,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":2,"forks":29,"open_issues":2,"watchers":8,"default_branch":"master"}},"base":{"label":"Zarel:master","ref":"master","sha":"9f371b2953729e47614d34fc7fd571b1980419ff","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}","deployments_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/deployments","created_at":"2011-12-23T04:52:33Z","updated_at":"2016-11-23T23:05:57Z","pushed_at":"2016-11-24T08:07:02Z","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":82752,"stargazers_count":1023,"watchers_count":1023,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1064,"mirror_url":null,"open_issues_count":44,"forks":1064,"open_issues":44,"watchers":1023,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/2941"},"html":{"href":"https://github.com/Zarel/Pokemon-Showdown/pull/2941"},"issue":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/2941"},"comments":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/2941/comments"},"review_comments":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/2941/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/2941/commits"},"statuses":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/statuses/dce727f60246413019b8eed5f33814690e4274fc"}}}}
{"actor":{"display_login":"Zarel"}}