{"action":"created","comment":{"url":"https://api.github.com/repos/appfolio/farcy/pulls/comments/33960333","id":33960333,"diff_hunk":"@@ -246,7 +250,9 @@ def handle_pr(self, pr):\n         issue_count = 0\n         did_work = True\n         exception = False\n-        existing_comments = pr.review_comments()\n+        existing_comments = list(filter_comments_from_farcy(","path":"farcy/__init__.py","position":58,"original_position":58,"commit_id":"c250f1ebb38dce8095242da292c7ba540efdca2d","original_commit_id":"38248ebff77376f9211c8385d1370e018689df82","user":{"login":"bboe","id":48100,"avatar_url":"https://avatars.githubusercontent.com/u/48100?v=3","gravatar_id":"","url":"https://api.github.com/users/bboe","html_url":"https://github.com/bboe","followers_url":"https://api.github.com/users/bboe/followers","following_url":"https://api.github.com/users/bboe/following{/other_user}","gists_url":"https://api.github.com/users/bboe/gists{/gist_id}","starred_url":"https://api.github.com/users/bboe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bboe/subscriptions","organizations_url":"https://api.github.com/users/bboe/orgs","repos_url":"https://api.github.com/users/bboe/repos","events_url":"https://api.github.com/users/bboe/events{/privacy}","received_events_url":"https://api.github.com/users/bboe/received_events","type":"User","site_admin":false},"body":"Doh! Somehow I missed it when looking at helpers.py.","created_at":"2015-07-06T17:37:53Z","updated_at":"2015-07-06T17:37:53Z","html_url":"https://github.com/appfolio/farcy/pull/40#discussion_r33960333","pull_request_url":"https://api.github.com/repos/appfolio/farcy/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/appfolio/farcy/pulls/comments/33960333"},"html":{"href":"https://github.com/appfolio/farcy/pull/40#discussion_r33960333"},"pull_request":{"href":"https://api.github.com/repos/appfolio/farcy/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/appfolio/farcy/pulls/40","id":39133782,"html_url":"https://github.com/appfolio/farcy/pull/40","diff_url":"https://github.com/appfolio/farcy/pull/40.diff","patch_url":"https://github.com/appfolio/farcy/pull/40.patch","issue_url":"https://api.github.com/repos/appfolio/farcy/issues/40","number":40,"state":"open","locked":false,"title":"Limit comments","user":{"login":"balloob","id":1444314,"avatar_url":"https://avatars.githubusercontent.com/u/1444314?v=3","gravatar_id":"","url":"https://api.github.com/users/balloob","html_url":"https://github.com/balloob","followers_url":"https://api.github.com/users/balloob/followers","following_url":"https://api.github.com/users/balloob/following{/other_user}","gists_url":"https://api.github.com/users/balloob/gists{/gist_id}","starred_url":"https://api.github.com/users/balloob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balloob/subscriptions","organizations_url":"https://api.github.com/users/balloob/orgs","repos_url":"https://api.github.com/users/balloob/repos","events_url":"https://api.github.com/users/balloob/events{/privacy}","received_events_url":"https://api.github.com/users/balloob/received_events","type":"User","site_admin":false},"body":"This will limit the total number of comments that Farcy will add to a single PR, taking existing comments by Farcy into consideration. Currently defaulted to 128.\r\n\r\nIncludes an extra commit because branch is based on PR #39.\r\n\r\nThis PR fixes #35. ","created_at":"2015-07-02T23:01:05Z","updated_at":"2015-07-06T17:37:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"593e7bc9ecb285339078e98251520b8488a415c2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/appfolio/farcy/pulls/40/commits","review_comments_url":"https://api.github.com/repos/appfolio/farcy/pulls/40/comments","review_comment_url":"https://api.github.com/repos/appfolio/farcy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/appfolio/farcy/issues/40/comments","statuses_url":"https://api.github.com/repos/appfolio/farcy/statuses/c250f1ebb38dce8095242da292c7ba540efdca2d","head":{"label":"balloob:limit-comments","ref":"limit-comments","sha":"c250f1ebb38dce8095242da292c7ba540efdca2d","user":{"login":"balloob","id":1444314,"avatar_url":"https://avatars.githubusercontent.com/u/1444314?v=3","gravatar_id":"","url":"https://api.github.com/users/balloob","html_url":"https://github.com/balloob","followers_url":"https://api.github.com/users/balloob/followers","following_url":"https://api.github.com/users/balloob/following{/other_user}","gists_url":"https://api.github.com/users/balloob/gists{/gist_id}","starred_url":"https://api.github.com/users/balloob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balloob/subscriptions","organizations_url":"https://api.github.com/users/balloob/orgs","repos_url":"https://api.github.com/users/balloob/repos","events_url":"https://api.github.com/users/balloob/events{/privacy}","received_events_url":"https://api.github.com/users/balloob/received_events","type":"User","site_admin":false},"repo":{"id":36086174,"name":"farcy","full_name":"balloob/farcy","owner":{"login":"balloob","id":1444314,"avatar_url":"https://avatars.githubusercontent.com/u/1444314?v=3","gravatar_id":"","url":"https://api.github.com/users/balloob","html_url":"https://github.com/balloob","followers_url":"https://api.github.com/users/balloob/followers","following_url":"https://api.github.com/users/balloob/following{/other_user}","gists_url":"https://api.github.com/users/balloob/gists{/gist_id}","starred_url":"https://api.github.com/users/balloob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balloob/subscriptions","organizations_url":"https://api.github.com/users/balloob/orgs","repos_url":"https://api.github.com/users/balloob/repos","events_url":"https://api.github.com/users/balloob/events{/privacy}","received_events_url":"https://api.github.com/users/balloob/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/balloob/farcy","description":"A code review bot for github pull requests.","fork":true,"url":"https://api.github.com/repos/balloob/farcy","forks_url":"https://api.github.com/repos/balloob/farcy/forks","keys_url":"https://api.github.com/repos/balloob/farcy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/balloob/farcy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/balloob/farcy/teams","hooks_url":"https://api.github.com/repos/balloob/farcy/hooks","issue_events_url":"https://api.github.com/repos/balloob/farcy/issues/events{/number}","events_url":"https://api.github.com/repos/balloob/farcy/events","assignees_url":"https://api.github.com/repos/balloob/farcy/assignees{/user}","branches_url":"https://api.github.com/repos/balloob/farcy/branches{/branch}","tags_url":"https://api.github.com/repos/balloob/farcy/tags","blobs_url":"https://api.github.com/repos/balloob/farcy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/balloob/farcy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/balloob/farcy/git/refs{/sha}","trees_url":"https://api.github.com/repos/balloob/farcy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/balloob/farcy/statuses/{sha}","languages_url":"https://api.github.com/repos/balloob/farcy/languages","stargazers_url":"https://api.github.com/repos/balloob/farcy/stargazers","contributors_url":"https://api.github.com/repos/balloob/farcy/contributors","subscribers_url":"https://api.github.com/repos/balloob/farcy/subscribers","subscription_url":"https://api.github.com/repos/balloob/farcy/subscription","commits_url":"https://api.github.com/repos/balloob/farcy/commits{/sha}","git_commits_url":"https://api.github.com/repos/balloob/farcy/git/commits{/sha}","comments_url":"https://api.github.com/repos/balloob/farcy/comments{/number}","issue_comment_url":"https://api.github.com/repos/balloob/farcy/issues/comments{/number}","contents_url":"https://api.github.com/repos/balloob/farcy/contents/{+path}","compare_url":"https://api.github.com/repos/balloob/farcy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/balloob/farcy/merges","archive_url":"https://api.github.com/repos/balloob/farcy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/balloob/farcy/downloads","issues_url":"https://api.github.com/repos/balloob/farcy/issues{/number}","pulls_url":"https://api.github.com/repos/balloob/farcy/pulls{/number}","milestones_url":"https://api.github.com/repos/balloob/farcy/milestones{/number}","notifications_url":"https://api.github.com/repos/balloob/farcy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/balloob/farcy/labels{/name}","releases_url":"https://api.github.com/repos/balloob/farcy/releases{/id}","created_at":"2015-05-22T17:34:28Z","updated_at":"2015-05-22T17:34:29Z","pushed_at":"2015-07-06T16:23:55Z","git_url":"git://github.com/balloob/farcy.git","ssh_url":"git@github.com:balloob/farcy.git","clone_url":"https://github.com/balloob/farcy.git","svn_url":"https://github.com/balloob/farcy","homepage":"https://farcy.readthedocs.org/","size":273,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"appfolio:master","ref":"master","sha":"5f065612b72bca080c33ee79e8da61d05ffe9d7d","user":{"login":"appfolio","id":115119,"avatar_url":"https://avatars.githubusercontent.com/u/115119?v=3","gravatar_id":"","url":"https://api.github.com/users/appfolio","html_url":"https://github.com/appfolio","followers_url":"https://api.github.com/users/appfolio/followers","following_url":"https://api.github.com/users/appfolio/following{/other_user}","gists_url":"https://api.github.com/users/appfolio/gists{/gist_id}","starred_url":"https://api.github.com/users/appfolio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appfolio/subscriptions","organizations_url":"https://api.github.com/users/appfolio/orgs","repos_url":"https://api.github.com/users/appfolio/repos","events_url":"https://api.github.com/users/appfolio/events{/privacy}","received_events_url":"https://api.github.com/users/appfolio/received_events","type":"Organization","site_admin":false},"repo":{"id":27614362,"name":"farcy","full_name":"appfolio/farcy","owner":{"login":"appfolio","id":115119,"avatar_url":"https://avatars.githubusercontent.com/u/115119?v=3","gravatar_id":"","url":"https://api.github.com/users/appfolio","html_url":"https://github.com/appfolio","followers_url":"https://api.github.com/users/appfolio/followers","following_url":"https://api.github.com/users/appfolio/following{/other_user}","gists_url":"https://api.github.com/users/appfolio/gists{/gist_id}","starred_url":"https://api.github.com/users/appfolio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appfolio/subscriptions","organizations_url":"https://api.github.com/users/appfolio/orgs","repos_url":"https://api.github.com/users/appfolio/repos","events_url":"https://api.github.com/users/appfolio/events{/privacy}","received_events_url":"https://api.github.com/users/appfolio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appfolio/farcy","description":"A code review bot for github pull requests.","fork":false,"url":"https://api.github.com/repos/appfolio/farcy","forks_url":"https://api.github.com/repos/appfolio/farcy/forks","keys_url":"https://api.github.com/repos/appfolio/farcy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appfolio/farcy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appfolio/farcy/teams","hooks_url":"https://api.github.com/repos/appfolio/farcy/hooks","issue_events_url":"https://api.github.com/repos/appfolio/farcy/issues/events{/number}","events_url":"https://api.github.com/repos/appfolio/farcy/events","assignees_url":"https://api.github.com/repos/appfolio/farcy/assignees{/user}","branches_url":"https://api.github.com/repos/appfolio/farcy/branches{/branch}","tags_url":"https://api.github.com/repos/appfolio/farcy/tags","blobs_url":"https://api.github.com/repos/appfolio/farcy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appfolio/farcy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appfolio/farcy/git/refs{/sha}","trees_url":"https://api.github.com/repos/appfolio/farcy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appfolio/farcy/statuses/{sha}","languages_url":"https://api.github.com/repos/appfolio/farcy/languages","stargazers_url":"https://api.github.com/repos/appfolio/farcy/stargazers","contributors_url":"https://api.github.com/repos/appfolio/farcy/contributors","subscribers_url":"https://api.github.com/repos/appfolio/farcy/subscribers","subscription_url":"https://api.github.com/repos/appfolio/farcy/subscription","commits_url":"https://api.github.com/repos/appfolio/farcy/commits{/sha}","git_commits_url":"https://api.github.com/repos/appfolio/farcy/git/commits{/sha}","comments_url":"https://api.github.com/repos/appfolio/farcy/comments{/number}","issue_comment_url":"https://api.github.com/repos/appfolio/farcy/issues/comments{/number}","contents_url":"https://api.github.com/repos/appfolio/farcy/contents/{+path}","compare_url":"https://api.github.com/repos/appfolio/farcy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appfolio/farcy/merges","archive_url":"https://api.github.com/repos/appfolio/farcy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appfolio/farcy/downloads","issues_url":"https://api.github.com/repos/appfolio/farcy/issues{/number}","pulls_url":"https://api.github.com/repos/appfolio/farcy/pulls{/number}","milestones_url":"https://api.github.com/repos/appfolio/farcy/milestones{/number}","notifications_url":"https://api.github.com/repos/appfolio/farcy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appfolio/farcy/labels{/name}","releases_url":"https://api.github.com/repos/appfolio/farcy/releases{/id}","created_at":"2014-12-05T23:15:15Z","updated_at":"2015-05-27T01:58:00Z","pushed_at":"2015-07-06T16:23:57Z","git_url":"git://github.com/appfolio/farcy.git","ssh_url":"git@github.com:appfolio/farcy.git","clone_url":"https://github.com/appfolio/farcy.git","svn_url":"https://github.com/appfolio/farcy","homepage":"https://farcy.readthedocs.org/","size":594,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appfolio/farcy/pulls/40"},"html":{"href":"https://github.com/appfolio/farcy/pull/40"},"issue":{"href":"https://api.github.com/repos/appfolio/farcy/issues/40"},"comments":{"href":"https://api.github.com/repos/appfolio/farcy/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/appfolio/farcy/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/appfolio/farcy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/appfolio/farcy/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/appfolio/farcy/statuses/c250f1ebb38dce8095242da292c7ba540efdca2d"}}}}