{"action":"created","comment":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/comments/72765759","id":72765759,"diff_hunk":"@@ -15,7 +15,7 @@ def __init__(self, bot):\n         self.position = bot.position\n \n     def work(self):\n-        if not self.config.catch_pokemon:\n+        if not self.config.catch_pokemon or self.bot.softbanned:","path":"pokemongo_bot/cell_workers/catch_visible_pokemon_worker.py","position":5,"original_position":5,"commit_id":"6885cca0218ba6797762695e2a7e07b011b29496","original_commit_id":"6885cca0218ba6797762695e2a7e07b011b29496","user":{"login":"TheSavior","id":249164,"avatar_url":"https://avatars.githubusercontent.com/u/249164?v=3","gravatar_id":"","url":"https://api.github.com/users/TheSavior","html_url":"https://github.com/TheSavior","followers_url":"https://api.github.com/users/TheSavior/followers","following_url":"https://api.github.com/users/TheSavior/following{/other_user}","gists_url":"https://api.github.com/users/TheSavior/gists{/gist_id}","starred_url":"https://api.github.com/users/TheSavior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheSavior/subscriptions","organizations_url":"https://api.github.com/users/TheSavior/orgs","repos_url":"https://api.github.com/users/TheSavior/repos","events_url":"https://api.github.com/users/TheSavior/events{/privacy}","received_events_url":"https://api.github.com/users/TheSavior/received_events","type":"User","site_admin":false},"body":"we shouldn't need to change this","created_at":"2016-07-29T09:32:29Z","updated_at":"2016-07-29T09:32:29Z","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/1522#discussion_r72765759","pull_request_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/1522","_links":{"self":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/comments/72765759"},"html":{"href":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/1522#discussion_r72765759"},"pull_request":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/1522"}}},"pull_request":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/1522","id":79292691,"html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/1522","diff_url":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/1522.diff","patch_url":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/1522.patch","issue_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/1522","number":1522,"state":"open","locked":false,"title":"Added softban unban feature","user":{"login":"MikeDX","id":853931,"avatar_url":"https://avatars.githubusercontent.com/u/853931?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeDX","html_url":"https://github.com/MikeDX","followers_url":"https://api.github.com/users/MikeDX/followers","following_url":"https://api.github.com/users/MikeDX/following{/other_user}","gists_url":"https://api.github.com/users/MikeDX/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeDX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeDX/subscriptions","organizations_url":"https://api.github.com/users/MikeDX/orgs","repos_url":"https://api.github.com/users/MikeDX/repos","events_url":"https://api.github.com/users/MikeDX/events{/privacy}","received_events_url":"https://api.github.com/users/MikeDX/received_events","type":"User","site_admin":false},"body":"Short Description: \r\n\r\nUpon detection of a softban, bot will stop wasting balls and berries on pokemon and travel to a pokestop to try to unban itself.\r\n\r\nFixes:\r\n\r\nSoftban from travelling too far / quickly\r\nSome small grammar changes (seem -> seems)\r\n","created_at":"2016-07-29T01:02:49Z","updated_at":"2016-07-29T09:32:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0064b74586ce3f521463b65ad22217c51f914a8f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/1522/commits","review_comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/1522/comments","review_comment_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/1522/comments","statuses_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/statuses/6885cca0218ba6797762695e2a7e07b011b29496","head":{"label":"MikeDX:features/softban-unban","ref":"features/softban-unban","sha":"6885cca0218ba6797762695e2a7e07b011b29496","user":{"login":"MikeDX","id":853931,"avatar_url":"https://avatars.githubusercontent.com/u/853931?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeDX","html_url":"https://github.com/MikeDX","followers_url":"https://api.github.com/users/MikeDX/followers","following_url":"https://api.github.com/users/MikeDX/following{/other_user}","gists_url":"https://api.github.com/users/MikeDX/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeDX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeDX/subscriptions","organizations_url":"https://api.github.com/users/MikeDX/orgs","repos_url":"https://api.github.com/users/MikeDX/repos","events_url":"https://api.github.com/users/MikeDX/events{/privacy}","received_events_url":"https://api.github.com/users/MikeDX/received_events","type":"User","site_admin":false},"repo":{"id":64091115,"name":"PokemonGo-Bot","full_name":"MikeDX/PokemonGo-Bot","owner":{"login":"MikeDX","id":853931,"avatar_url":"https://avatars.githubusercontent.com/u/853931?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeDX","html_url":"https://github.com/MikeDX","followers_url":"https://api.github.com/users/MikeDX/followers","following_url":"https://api.github.com/users/MikeDX/following{/other_user}","gists_url":"https://api.github.com/users/MikeDX/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeDX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeDX/subscriptions","organizations_url":"https://api.github.com/users/MikeDX/orgs","repos_url":"https://api.github.com/users/MikeDX/repos","events_url":"https://api.github.com/users/MikeDX/events{/privacy}","received_events_url":"https://api.github.com/users/MikeDX/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MikeDX/PokemonGo-Bot","description":"The Pokemon Go Bot script, baking with community.","fork":true,"url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot","forks_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/forks","keys_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/teams","hooks_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/hooks","issue_events_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/issues/events{/number}","events_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/events","assignees_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/assignees{/user}","branches_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/branches{/branch}","tags_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/tags","blobs_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/statuses/{sha}","languages_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/languages","stargazers_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/stargazers","contributors_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/contributors","subscribers_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/subscribers","subscription_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/subscription","commits_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/contents/{+path}","compare_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/merges","archive_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/downloads","issues_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/issues{/number}","pulls_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/pulls{/number}","milestones_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/milestones{/number}","notifications_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/labels{/name}","releases_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/releases{/id}","deployments_url":"https://api.github.com/repos/MikeDX/PokemonGo-Bot/deployments","created_at":"2016-07-24T23:58:56Z","updated_at":"2016-07-24T23:58:59Z","pushed_at":"2016-07-29T09:20:06Z","git_url":"git://github.com/MikeDX/PokemonGo-Bot.git","ssh_url":"git@github.com:MikeDX/PokemonGo-Bot.git","clone_url":"https://github.com/MikeDX/PokemonGo-Bot.git","svn_url":"https://github.com/MikeDX/PokemonGo-Bot","homepage":"","size":6032,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"dev"}},"base":{"label":"PokemonGoF:dev","ref":"dev","sha":"a1433f235c0afc00a15d79ff99711c0cd520dc7f","user":{"login":"PokemonGoF","id":20551204,"avatar_url":"https://avatars.githubusercontent.com/u/20551204?v=3","gravatar_id":"","url":"https://api.github.com/users/PokemonGoF","html_url":"https://github.com/PokemonGoF","followers_url":"https://api.github.com/users/PokemonGoF/followers","following_url":"https://api.github.com/users/PokemonGoF/following{/other_user}","gists_url":"https://api.github.com/users/PokemonGoF/gists{/gist_id}","starred_url":"https://api.github.com/users/PokemonGoF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PokemonGoF/subscriptions","organizations_url":"https://api.github.com/users/PokemonGoF/orgs","repos_url":"https://api.github.com/users/PokemonGoF/repos","events_url":"https://api.github.com/users/PokemonGoF/events{/privacy}","received_events_url":"https://api.github.com/users/PokemonGoF/received_events","type":"Organization","site_admin":false},"repo":{"id":63752974,"name":"PokemonGo-Bot","full_name":"PokemonGoF/PokemonGo-Bot","owner":{"login":"PokemonGoF","id":20551204,"avatar_url":"https://avatars.githubusercontent.com/u/20551204?v=3","gravatar_id":"","url":"https://api.github.com/users/PokemonGoF","html_url":"https://github.com/PokemonGoF","followers_url":"https://api.github.com/users/PokemonGoF/followers","following_url":"https://api.github.com/users/PokemonGoF/following{/other_user}","gists_url":"https://api.github.com/users/PokemonGoF/gists{/gist_id}","starred_url":"https://api.github.com/users/PokemonGoF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PokemonGoF/subscriptions","organizations_url":"https://api.github.com/users/PokemonGoF/orgs","repos_url":"https://api.github.com/users/PokemonGoF/repos","events_url":"https://api.github.com/users/PokemonGoF/events{/privacy}","received_events_url":"https://api.github.com/users/PokemonGoF/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PokemonGoF/PokemonGo-Bot","description":"The Pokemon Go Bot, baking with community.","fork":false,"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot","forks_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/forks","keys_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/teams","hooks_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/hooks","issue_events_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/events{/number}","events_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/events","assignees_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/assignees{/user}","branches_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/branches{/branch}","tags_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/tags","blobs_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/statuses/{sha}","languages_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/languages","stargazers_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/stargazers","contributors_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/contributors","subscribers_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/subscribers","subscription_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/subscription","commits_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/contents/{+path}","compare_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/merges","archive_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/downloads","issues_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues{/number}","pulls_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls{/number}","milestones_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/milestones{/number}","notifications_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/labels{/name}","releases_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/releases{/id}","deployments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/deployments","created_at":"2016-07-20T05:31:53Z","updated_at":"2016-07-29T09:14:37Z","pushed_at":"2016-07-29T09:31:34Z","git_url":"git://github.com/PokemonGoF/PokemonGo-Bot.git","ssh_url":"git@github.com:PokemonGoF/PokemonGo-Bot.git","clone_url":"https://github.com/PokemonGoF/PokemonGo-Bot.git","svn_url":"https://github.com/PokemonGoF/PokemonGo-Bot","homepage":"","size":7886,"stargazers_count":1533,"watchers_count":1533,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":656,"mirror_url":null,"open_issues_count":288,"forks":656,"open_issues":288,"watchers":1533,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/1522"},"html":{"href":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/1522"},"issue":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/1522"},"comments":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/1522/comments"},"review_comments":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/1522/comments"},"review_comment":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/1522/commits"},"statuses":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/statuses/6885cca0218ba6797762695e2a7e07b011b29496"}}}}
{"actor":{"display_login":"TheSavior"}}