{"action":"closed","number":1777,"pull_request":{"url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/pulls/1777","id":192188848,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyMTg4ODQ4","html_url":"https://github.com/Cog-Creators/Red-DiscordBot/pull/1777","diff_url":"https://github.com/Cog-Creators/Red-DiscordBot/pull/1777.diff","patch_url":"https://github.com/Cog-Creators/Red-DiscordBot/pull/1777.patch","issue_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/1777","number":1777,"state":"closed","locked":false,"title":"[V3 Mod/Modlog] prevent self-casing the bot + feedback for heirarchy","user":{"login":"mikeshardmind","id":22035876,"node_id":"MDQ6VXNlcjIyMDM1ODc2","avatar_url":"https://avatars0.githubusercontent.com/u/22035876?v=4","gravatar_id":"","url":"https://api.github.com/users/mikeshardmind","html_url":"https://github.com/mikeshardmind","followers_url":"https://api.github.com/users/mikeshardmind/followers","following_url":"https://api.github.com/users/mikeshardmind/following{/other_user}","gists_url":"https://api.github.com/users/mikeshardmind/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeshardmind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeshardmind/subscriptions","organizations_url":"https://api.github.com/users/mikeshardmind/orgs","repos_url":"https://api.github.com/users/mikeshardmind/repos","events_url":"https://api.github.com/users/mikeshardmind/events{/privacy}","received_events_url":"https://api.github.com/users/mikeshardmind/received_events","type":"User","site_admin":false},"body":"### Type\r\n\r\n- [X] Bugfix\r\n- [X] Enhancement\r\n- [ ] New feature\r\n\r\n### Description of the changes\r\n\r\n* Prevent the bot from making cases where it is the target\r\n\r\n* Prevents the mod cog from attempting to self-ban or kick the bot through a hierarchy check, which doubles as extra user facing feedback for an unexpected reason a kick or ban may fail.\r\n\r\nsee #1775 ","created_at":"2018-06-02T09:14:05Z","updated_at":"2018-06-09T00:27:08Z","closed_at":"2018-06-09T00:27:08Z","merged_at":"2018-06-09T00:27:08Z","merge_commit_sha":"8b15053dd48e55cb19feaedd24cf709c0b3722f0","assignee":null,"assignees":[],"requested_reviewers":[{"login":"palmtree5","id":3577255,"node_id":"MDQ6VXNlcjM1NzcyNTU=","avatar_url":"https://avatars0.githubusercontent.com/u/3577255?v=4","gravatar_id":"","url":"https://api.github.com/users/palmtree5","html_url":"https://github.com/palmtree5","followers_url":"https://api.github.com/users/palmtree5/followers","following_url":"https://api.github.com/users/palmtree5/following{/other_user}","gists_url":"https://api.github.com/users/palmtree5/gists{/gist_id}","starred_url":"https://api.github.com/users/palmtree5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palmtree5/subscriptions","organizations_url":"https://api.github.com/users/palmtree5/orgs","repos_url":"https://api.github.com/users/palmtree5/repos","events_url":"https://api.github.com/users/palmtree5/events{/privacy}","received_events_url":"https://api.github.com/users/palmtree5/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":593836458,"node_id":"MDU6TGFiZWw1OTM4MzY0NTg=","url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/labels/V3","name":"V3","color":"006b75","default":false},{"id":371159371,"node_id":"MDU6TGFiZWwzNzExNTkzNzE=","url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/labels/needs%20testing","name":"needs testing","color":"d93f0b","default":false}],"milestone":{"url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/milestones/6","html_url":"https://github.com/Cog-Creators/Red-DiscordBot/milestone/6","labels_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/milestones/6/labels","id":3341621,"node_id":"MDk6TWlsZXN0b25lMzM0MTYyMQ==","number":6,"title":"Beta 16","description":"","creator":{"login":"tekulvw","id":3731082,"node_id":"MDQ6VXNlcjM3MzEwODI=","avatar_url":"https://avatars1.githubusercontent.com/u/3731082?v=4","gravatar_id":"","url":"https://api.github.com/users/tekulvw","html_url":"https://github.com/tekulvw","followers_url":"https://api.github.com/users/tekulvw/followers","following_url":"https://api.github.com/users/tekulvw/following{/other_user}","gists_url":"https://api.github.com/users/tekulvw/gists{/gist_id}","starred_url":"https://api.github.com/users/tekulvw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tekulvw/subscriptions","organizations_url":"https://api.github.com/users/tekulvw/orgs","repos_url":"https://api.github.com/users/tekulvw/repos","events_url":"https://api.github.com/users/tekulvw/events{/privacy}","received_events_url":"https://api.github.com/users/tekulvw/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":23,"state":"open","created_at":"2018-05-13T05:00:58Z","updated_at":"2018-06-09T00:27:08Z","due_on":"2018-06-10T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/pulls/1777/commits","review_comments_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/pulls/1777/comments","review_comment_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/1777/comments","statuses_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/statuses/8eb7de9f322fa6439960fee72a854a1fcec3f82f","head":{"label":"mikeshardmind:iss1775","ref":"iss1775","sha":"8eb7de9f322fa6439960fee72a854a1fcec3f82f","user":{"login":"mikeshardmind","id":22035876,"node_id":"MDQ6VXNlcjIyMDM1ODc2","avatar_url":"https://avatars0.githubusercontent.com/u/22035876?v=4","gravatar_id":"","url":"https://api.github.com/users/mikeshardmind","html_url":"https://github.com/mikeshardmind","followers_url":"https://api.github.com/users/mikeshardmind/followers","following_url":"https://api.github.com/users/mikeshardmind/following{/other_user}","gists_url":"https://api.github.com/users/mikeshardmind/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeshardmind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeshardmind/subscriptions","organizations_url":"https://api.github.com/users/mikeshardmind/orgs","repos_url":"https://api.github.com/users/mikeshardmind/repos","events_url":"https://api.github.com/users/mikeshardmind/events{/privacy}","received_events_url":"https://api.github.com/users/mikeshardmind/received_events","type":"User","site_admin":false},"repo":{"id":116521735,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY1MjE3MzU=","name":"Red-DiscordBot","full_name":"mikeshardmind/Red-DiscordBot","owner":{"login":"mikeshardmind","id":22035876,"node_id":"MDQ6VXNlcjIyMDM1ODc2","avatar_url":"https://avatars0.githubusercontent.com/u/22035876?v=4","gravatar_id":"","url":"https://api.github.com/users/mikeshardmind","html_url":"https://github.com/mikeshardmind","followers_url":"https://api.github.com/users/mikeshardmind/followers","following_url":"https://api.github.com/users/mikeshardmind/following{/other_user}","gists_url":"https://api.github.com/users/mikeshardmind/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeshardmind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeshardmind/subscriptions","organizations_url":"https://api.github.com/users/mikeshardmind/orgs","repos_url":"https://api.github.com/users/mikeshardmind/repos","events_url":"https://api.github.com/users/mikeshardmind/events{/privacy}","received_events_url":"https://api.github.com/users/mikeshardmind/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikeshardmind/Red-DiscordBot","description":"A multifunction Discord bot","fork":true,"url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot","forks_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/forks","keys_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/teams","hooks_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/hooks","issue_events_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/issues/events{/number}","events_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/events","assignees_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/assignees{/user}","branches_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/branches{/branch}","tags_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/tags","blobs_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/statuses/{sha}","languages_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/languages","stargazers_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/stargazers","contributors_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/contributors","subscribers_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/subscribers","subscription_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/subscription","commits_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/contents/{+path}","compare_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/merges","archive_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/downloads","issues_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/issues{/number}","pulls_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/pulls{/number}","milestones_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/milestones{/number}","notifications_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/labels{/name}","releases_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/releases{/id}","deployments_url":"https://api.github.com/repos/mikeshardmind/Red-DiscordBot/deployments","created_at":"2018-01-06T23:01:42Z","updated_at":"2018-05-05T17:46:22Z","pushed_at":"2018-06-09T00:23:24Z","git_url":"git://github.com/mikeshardmind/Red-DiscordBot.git","ssh_url":"git@github.com:mikeshardmind/Red-DiscordBot.git","clone_url":"https://github.com/mikeshardmind/Red-DiscordBot.git","svn_url":"https://github.com/mikeshardmind/Red-DiscordBot","homepage":null,"size":42166,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Cog-Creators:V3/develop","ref":"V3/develop","sha":"e15815cd97ab55cbeeb52051d803171c796e6e6b","user":{"login":"Cog-Creators","id":23690422,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNjkwNDIy","avatar_url":"https://avatars2.githubusercontent.com/u/23690422?v=4","gravatar_id":"","url":"https://api.github.com/users/Cog-Creators","html_url":"https://github.com/Cog-Creators","followers_url":"https://api.github.com/users/Cog-Creators/followers","following_url":"https://api.github.com/users/Cog-Creators/following{/other_user}","gists_url":"https://api.github.com/users/Cog-Creators/gists{/gist_id}","starred_url":"https://api.github.com/users/Cog-Creators/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cog-Creators/subscriptions","organizations_url":"https://api.github.com/users/Cog-Creators/orgs","repos_url":"https://api.github.com/users/Cog-Creators/repos","events_url":"https://api.github.com/users/Cog-Creators/events{/privacy}","received_events_url":"https://api.github.com/users/Cog-Creators/received_events","type":"Organization","site_admin":false},"repo":{"id":48904888,"node_id":"MDEwOlJlcG9zaXRvcnk0ODkwNDg4OA==","name":"Red-DiscordBot","full_name":"Cog-Creators/Red-DiscordBot","owner":{"login":"Cog-Creators","id":23690422,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNjkwNDIy","avatar_url":"https://avatars2.githubusercontent.com/u/23690422?v=4","gravatar_id":"","url":"https://api.github.com/users/Cog-Creators","html_url":"https://github.com/Cog-Creators","followers_url":"https://api.github.com/users/Cog-Creators/followers","following_url":"https://api.github.com/users/Cog-Creators/following{/other_user}","gists_url":"https://api.github.com/users/Cog-Creators/gists{/gist_id}","starred_url":"https://api.github.com/users/Cog-Creators/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cog-Creators/subscriptions","organizations_url":"https://api.github.com/users/Cog-Creators/orgs","repos_url":"https://api.github.com/users/Cog-Creators/repos","events_url":"https://api.github.com/users/Cog-Creators/events{/privacy}","received_events_url":"https://api.github.com/users/Cog-Creators/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cog-Creators/Red-DiscordBot","description":"A multifunction Discord bot","fork":false,"url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot","forks_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/forks","keys_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/teams","hooks_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/hooks","issue_events_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/events{/number}","events_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/events","assignees_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/assignees{/user}","branches_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/branches{/branch}","tags_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/tags","blobs_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/statuses/{sha}","languages_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/languages","stargazers_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/stargazers","contributors_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/contributors","subscribers_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/subscribers","subscription_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/subscription","commits_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/contents/{+path}","compare_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/merges","archive_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/downloads","issues_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues{/number}","pulls_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/pulls{/number}","milestones_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/milestones{/number}","notifications_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/labels{/name}","releases_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/releases{/id}","deployments_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/deployments","created_at":"2016-01-02T09:27:12Z","updated_at":"2018-06-09T00:20:56Z","pushed_at":"2018-06-09T00:27:08Z","git_url":"git://github.com/Cog-Creators/Red-DiscordBot.git","ssh_url":"git@github.com:Cog-Creators/Red-DiscordBot.git","clone_url":"https://github.com/Cog-Creators/Red-DiscordBot.git","svn_url":"https://github.com/Cog-Creators/Red-DiscordBot","homepage":null,"size":41884,"stargazers_count":927,"watchers_count":927,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":815,"mirror_url":null,"archived":false,"open_issues_count":63,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":815,"open_issues":63,"watchers":927,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/pulls/1777"},"html":{"href":"https://github.com/Cog-Creators/Red-DiscordBot/pull/1777"},"issue":{"href":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/1777"},"comments":{"href":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/1777/comments"},"review_comments":{"href":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/pulls/1777/comments"},"review_comment":{"href":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/pulls/1777/commits"},"statuses":{"href":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/statuses/8eb7de9f322fa6439960fee72a854a1fcec3f82f"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"tekulvw","id":3731082,"node_id":"MDQ6VXNlcjM3MzEwODI=","avatar_url":"https://avatars1.githubusercontent.com/u/3731082?v=4","gravatar_id":"","url":"https://api.github.com/users/tekulvw","html_url":"https://github.com/tekulvw","followers_url":"https://api.github.com/users/tekulvw/followers","following_url":"https://api.github.com/users/tekulvw/following{/other_user}","gists_url":"https://api.github.com/users/tekulvw/gists{/gist_id}","starred_url":"https://api.github.com/users/tekulvw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tekulvw/subscriptions","organizations_url":"https://api.github.com/users/tekulvw/orgs","repos_url":"https://api.github.com/users/tekulvw/repos","events_url":"https://api.github.com/users/tekulvw/events{/privacy}","received_events_url":"https://api.github.com/users/tekulvw/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":7,"additions":9,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"tekulvw"}}