{"action":"created","comment":{"url":"https://api.github.com/repos/chaosbot/chaos/pulls/comments/118098829","pull_request_review_id":39859985,"id":118098829,"diff_hunk":"@@ -100,6 +100,7 @@ def get_ready_prs(api, urn, window):\n     open_prs = get_open_prs(api, urn)\n     for pr in open_prs:\n         pr_num = pr[\"number\"]\n+        user = pr[\"user\"][\"id\"]","path":"github_api/prs.py","position":4,"original_position":4,"commit_id":"244a3b285fc0eec1f26bdd6fbceb09169bcca290","original_commit_id":"244a3b285fc0eec1f26bdd6fbceb09169bcca290","user":{"login":"amoffat","id":259113,"avatar_url":"https://avatars0.githubusercontent.com/u/259113?v=3","gravatar_id":"","url":"https://api.github.com/users/amoffat","html_url":"https://github.com/amoffat","followers_url":"https://api.github.com/users/amoffat/followers","following_url":"https://api.github.com/users/amoffat/following{/other_user}","gists_url":"https://api.github.com/users/amoffat/gists{/gist_id}","starred_url":"https://api.github.com/users/amoffat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amoffat/subscriptions","organizations_url":"https://api.github.com/users/amoffat/orgs","repos_url":"https://api.github.com/users/amoffat/repos","events_url":"https://api.github.com/users/amoffat/events{/privacy}","received_events_url":"https://api.github.com/users/amoffat/received_events","type":"User","site_admin":false},"body":"use \"login\" instead of \"id\"... it's pretty tricky to find your id","created_at":"2017-05-23T20:31:27Z","updated_at":"2017-05-23T20:31:52Z","html_url":"https://github.com/chaosbot/chaos/pull/90#discussion_r118098829","pull_request_url":"https://api.github.com/repos/chaosbot/chaos/pulls/90","_links":{"self":{"href":"https://api.github.com/repos/chaosbot/chaos/pulls/comments/118098829"},"html":{"href":"https://github.com/chaosbot/chaos/pull/90#discussion_r118098829"},"pull_request":{"href":"https://api.github.com/repos/chaosbot/chaos/pulls/90"}}},"pull_request":{"url":"https://api.github.com/repos/chaosbot/chaos/pulls/90","id":122081308,"html_url":"https://github.com/chaosbot/chaos/pull/90","diff_url":"https://github.com/chaosbot/chaos/pull/90.diff","patch_url":"https://github.com/chaosbot/chaos/pull/90.patch","issue_url":"https://api.github.com/repos/chaosbot/chaos/issues/90","number":90,"state":"open","locked":false,"title":"Banning users","user":{"login":"MCSH","id":5782392,"avatar_url":"https://avatars3.githubusercontent.com/u/5782392?v=3","gravatar_id":"","url":"https://api.github.com/users/MCSH","html_url":"https://github.com/MCSH","followers_url":"https://api.github.com/users/MCSH/followers","following_url":"https://api.github.com/users/MCSH/following{/other_user}","gists_url":"https://api.github.com/users/MCSH/gists{/gist_id}","starred_url":"https://api.github.com/users/MCSH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MCSH/subscriptions","organizations_url":"https://api.github.com/users/MCSH/orgs","repos_url":"https://api.github.com/users/MCSH/repos","events_url":"https://api.github.com/users/MCSH/events{/privacy}","received_events_url":"https://api.github.com/users/MCSH/received_events","type":"User","site_admin":false},"body":"It might be a good idea to ignore prs from users wjo are banned.\r\n\r\nIdeas for further improvement:\r\n* add a poll method to ban a user (using issues preferably)\r\n* deny prs from banned users","created_at":"2017-05-23T19:53:56Z","updated_at":"2017-05-23T20:31:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"85d71859785a58791a68e4769ff8e501979b16f2","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/chaosbot/chaos/pulls/90/commits","review_comments_url":"https://api.github.com/repos/chaosbot/chaos/pulls/90/comments","review_comment_url":"https://api.github.com/repos/chaosbot/chaos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chaosbot/chaos/issues/90/comments","statuses_url":"https://api.github.com/repos/chaosbot/chaos/statuses/244a3b285fc0eec1f26bdd6fbceb09169bcca290","head":{"label":"MCSH:master","ref":"master","sha":"244a3b285fc0eec1f26bdd6fbceb09169bcca290","user":{"login":"MCSH","id":5782392,"avatar_url":"https://avatars3.githubusercontent.com/u/5782392?v=3","gravatar_id":"","url":"https://api.github.com/users/MCSH","html_url":"https://github.com/MCSH","followers_url":"https://api.github.com/users/MCSH/followers","following_url":"https://api.github.com/users/MCSH/following{/other_user}","gists_url":"https://api.github.com/users/MCSH/gists{/gist_id}","starred_url":"https://api.github.com/users/MCSH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MCSH/subscriptions","organizations_url":"https://api.github.com/users/MCSH/orgs","repos_url":"https://api.github.com/users/MCSH/repos","events_url":"https://api.github.com/users/MCSH/events{/privacy}","received_events_url":"https://api.github.com/users/MCSH/received_events","type":"User","site_admin":false},"repo":{"id":92159946,"name":"chaos","full_name":"MCSH/chaos","owner":{"login":"MCSH","id":5782392,"avatar_url":"https://avatars3.githubusercontent.com/u/5782392?v=3","gravatar_id":"","url":"https://api.github.com/users/MCSH","html_url":"https://github.com/MCSH","followers_url":"https://api.github.com/users/MCSH/followers","following_url":"https://api.github.com/users/MCSH/following{/other_user}","gists_url":"https://api.github.com/users/MCSH/gists{/gist_id}","starred_url":"https://api.github.com/users/MCSH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MCSH/subscriptions","organizations_url":"https://api.github.com/users/MCSH/orgs","repos_url":"https://api.github.com/users/MCSH/repos","events_url":"https://api.github.com/users/MCSH/events{/privacy}","received_events_url":"https://api.github.com/users/MCSH/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MCSH/chaos","description":"A social coding experiment that updates its own code democratically","fork":true,"url":"https://api.github.com/repos/MCSH/chaos","forks_url":"https://api.github.com/repos/MCSH/chaos/forks","keys_url":"https://api.github.com/repos/MCSH/chaos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MCSH/chaos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MCSH/chaos/teams","hooks_url":"https://api.github.com/repos/MCSH/chaos/hooks","issue_events_url":"https://api.github.com/repos/MCSH/chaos/issues/events{/number}","events_url":"https://api.github.com/repos/MCSH/chaos/events","assignees_url":"https://api.github.com/repos/MCSH/chaos/assignees{/user}","branches_url":"https://api.github.com/repos/MCSH/chaos/branches{/branch}","tags_url":"https://api.github.com/repos/MCSH/chaos/tags","blobs_url":"https://api.github.com/repos/MCSH/chaos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MCSH/chaos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MCSH/chaos/git/refs{/sha}","trees_url":"https://api.github.com/repos/MCSH/chaos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MCSH/chaos/statuses/{sha}","languages_url":"https://api.github.com/repos/MCSH/chaos/languages","stargazers_url":"https://api.github.com/repos/MCSH/chaos/stargazers","contributors_url":"https://api.github.com/repos/MCSH/chaos/contributors","subscribers_url":"https://api.github.com/repos/MCSH/chaos/subscribers","subscription_url":"https://api.github.com/repos/MCSH/chaos/subscription","commits_url":"https://api.github.com/repos/MCSH/chaos/commits{/sha}","git_commits_url":"https://api.github.com/repos/MCSH/chaos/git/commits{/sha}","comments_url":"https://api.github.com/repos/MCSH/chaos/comments{/number}","issue_comment_url":"https://api.github.com/repos/MCSH/chaos/issues/comments{/number}","contents_url":"https://api.github.com/repos/MCSH/chaos/contents/{+path}","compare_url":"https://api.github.com/repos/MCSH/chaos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MCSH/chaos/merges","archive_url":"https://api.github.com/repos/MCSH/chaos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MCSH/chaos/downloads","issues_url":"https://api.github.com/repos/MCSH/chaos/issues{/number}","pulls_url":"https://api.github.com/repos/MCSH/chaos/pulls{/number}","milestones_url":"https://api.github.com/repos/MCSH/chaos/milestones{/number}","notifications_url":"https://api.github.com/repos/MCSH/chaos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MCSH/chaos/labels{/name}","releases_url":"https://api.github.com/repos/MCSH/chaos/releases{/id}","deployments_url":"https://api.github.com/repos/MCSH/chaos/deployments","created_at":"2017-05-23T10:24:44Z","updated_at":"2017-05-23T10:24:46Z","pushed_at":"2017-05-23T19:51:19Z","git_url":"git://github.com/MCSH/chaos.git","ssh_url":"git@github.com:MCSH/chaos.git","clone_url":"https://github.com/MCSH/chaos.git","svn_url":"https://github.com/MCSH/chaos","homepage":"","size":34,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"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":"chaosbot:master","ref":"master","sha":"232feab28cbc275dede799c6d53f12ff48e85b01","user":{"login":"chaosbot","id":28798182,"avatar_url":"https://avatars3.githubusercontent.com/u/28798182?v=3","gravatar_id":"","url":"https://api.github.com/users/chaosbot","html_url":"https://github.com/chaosbot","followers_url":"https://api.github.com/users/chaosbot/followers","following_url":"https://api.github.com/users/chaosbot/following{/other_user}","gists_url":"https://api.github.com/users/chaosbot/gists{/gist_id}","starred_url":"https://api.github.com/users/chaosbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaosbot/subscriptions","organizations_url":"https://api.github.com/users/chaosbot/orgs","repos_url":"https://api.github.com/users/chaosbot/repos","events_url":"https://api.github.com/users/chaosbot/events{/privacy}","received_events_url":"https://api.github.com/users/chaosbot/received_events","type":"User","site_admin":false},"repo":{"id":92091765,"name":"chaos","full_name":"chaosbot/chaos","owner":{"login":"chaosbot","id":28798182,"avatar_url":"https://avatars3.githubusercontent.com/u/28798182?v=3","gravatar_id":"","url":"https://api.github.com/users/chaosbot","html_url":"https://github.com/chaosbot","followers_url":"https://api.github.com/users/chaosbot/followers","following_url":"https://api.github.com/users/chaosbot/following{/other_user}","gists_url":"https://api.github.com/users/chaosbot/gists{/gist_id}","starred_url":"https://api.github.com/users/chaosbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaosbot/subscriptions","organizations_url":"https://api.github.com/users/chaosbot/orgs","repos_url":"https://api.github.com/users/chaosbot/repos","events_url":"https://api.github.com/users/chaosbot/events{/privacy}","received_events_url":"https://api.github.com/users/chaosbot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chaosbot/chaos","description":"A social coding experiment that updates its own code democratically","fork":false,"url":"https://api.github.com/repos/chaosbot/chaos","forks_url":"https://api.github.com/repos/chaosbot/chaos/forks","keys_url":"https://api.github.com/repos/chaosbot/chaos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chaosbot/chaos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chaosbot/chaos/teams","hooks_url":"https://api.github.com/repos/chaosbot/chaos/hooks","issue_events_url":"https://api.github.com/repos/chaosbot/chaos/issues/events{/number}","events_url":"https://api.github.com/repos/chaosbot/chaos/events","assignees_url":"https://api.github.com/repos/chaosbot/chaos/assignees{/user}","branches_url":"https://api.github.com/repos/chaosbot/chaos/branches{/branch}","tags_url":"https://api.github.com/repos/chaosbot/chaos/tags","blobs_url":"https://api.github.com/repos/chaosbot/chaos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chaosbot/chaos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chaosbot/chaos/git/refs{/sha}","trees_url":"https://api.github.com/repos/chaosbot/chaos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chaosbot/chaos/statuses/{sha}","languages_url":"https://api.github.com/repos/chaosbot/chaos/languages","stargazers_url":"https://api.github.com/repos/chaosbot/chaos/stargazers","contributors_url":"https://api.github.com/repos/chaosbot/chaos/contributors","subscribers_url":"https://api.github.com/repos/chaosbot/chaos/subscribers","subscription_url":"https://api.github.com/repos/chaosbot/chaos/subscription","commits_url":"https://api.github.com/repos/chaosbot/chaos/commits{/sha}","git_commits_url":"https://api.github.com/repos/chaosbot/chaos/git/commits{/sha}","comments_url":"https://api.github.com/repos/chaosbot/chaos/comments{/number}","issue_comment_url":"https://api.github.com/repos/chaosbot/chaos/issues/comments{/number}","contents_url":"https://api.github.com/repos/chaosbot/chaos/contents/{+path}","compare_url":"https://api.github.com/repos/chaosbot/chaos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chaosbot/chaos/merges","archive_url":"https://api.github.com/repos/chaosbot/chaos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chaosbot/chaos/downloads","issues_url":"https://api.github.com/repos/chaosbot/chaos/issues{/number}","pulls_url":"https://api.github.com/repos/chaosbot/chaos/pulls{/number}","milestones_url":"https://api.github.com/repos/chaosbot/chaos/milestones{/number}","notifications_url":"https://api.github.com/repos/chaosbot/chaos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chaosbot/chaos/labels{/name}","releases_url":"https://api.github.com/repos/chaosbot/chaos/releases{/id}","deployments_url":"https://api.github.com/repos/chaosbot/chaos/deployments","created_at":"2017-05-22T19:29:47Z","updated_at":"2017-05-23T20:26:17Z","pushed_at":"2017-05-23T20:26:46Z","git_url":"git://github.com/chaosbot/chaos.git","ssh_url":"git@github.com:chaosbot/chaos.git","clone_url":"https://github.com/chaosbot/chaos.git","svn_url":"https://github.com/chaosbot/chaos","homepage":"","size":1949,"stargazers_count":798,"watchers_count":798,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":126,"mirror_url":null,"open_issues_count":40,"forks":126,"open_issues":40,"watchers":798,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chaosbot/chaos/pulls/90"},"html":{"href":"https://github.com/chaosbot/chaos/pull/90"},"issue":{"href":"https://api.github.com/repos/chaosbot/chaos/issues/90"},"comments":{"href":"https://api.github.com/repos/chaosbot/chaos/issues/90/comments"},"review_comments":{"href":"https://api.github.com/repos/chaosbot/chaos/pulls/90/comments"},"review_comment":{"href":"https://api.github.com/repos/chaosbot/chaos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chaosbot/chaos/pulls/90/commits"},"statuses":{"href":"https://api.github.com/repos/chaosbot/chaos/statuses/244a3b285fc0eec1f26bdd6fbceb09169bcca290"}}}}
{"actor":{"display_login":"amoffat"}}