{"action":"created","comment":{"url":"https://api.github.com/repos/eslachance/komada-pieces/pulls/comments/85244598","pull_request_review_id":5971654,"id":85244598,"diff_hunk":"@@ -0,0 +1,25 @@\n+const fs = require('fs-extra');\r\n+\r\n+exports.conf = {\r\n+    enabled: true,\r\n+    spamProtection: false\r\n+};\r\n+\r\n+/** Run Blacklists Inhibitor\r\n+  * @param {Object} client - The Discord.js client\r\n+  * @param {Object} msg - The command message\r\n+  * @param {Object} cmd - The command\r\n+  * @returns Reject() or Resolve(), depending on if the user is blacklisted or not.\r\n+  */\r\n+\r\n+exports.run = (client, msg, cmd) => {\r\n+    return new Promise((resolve, reject) => {\r\n+      fs.readJson(`bwd/conf/${msg.guild.id}.json`, (err, guildConf) => {\r","path":"inhibitors/blacklist.js","position":17,"original_position":17,"commit_id":"6e834b89007bc29d656d08f84a4a5cffb8c0851b","original_commit_id":"6e834b89007bc29d656d08f84a4a5cffb8c0851b","user":{"login":"hkwu","id":9387503,"avatar_url":"https://avatars.githubusercontent.com/u/9387503?v=3","gravatar_id":"","url":"https://api.github.com/users/hkwu","html_url":"https://github.com/hkwu","followers_url":"https://api.github.com/users/hkwu/followers","following_url":"https://api.github.com/users/hkwu/following{/other_user}","gists_url":"https://api.github.com/users/hkwu/gists{/gist_id}","starred_url":"https://api.github.com/users/hkwu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkwu/subscriptions","organizations_url":"https://api.github.com/users/hkwu/orgs","repos_url":"https://api.github.com/users/hkwu/repos","events_url":"https://api.github.com/users/hkwu/events{/privacy}","received_events_url":"https://api.github.com/users/hkwu/received_events","type":"User","site_admin":false},"body":"Same as `commands/Moderation/blacklist.js`.","created_at":"2016-10-26T23:59:36Z","updated_at":"2016-10-27T00:00:47Z","html_url":"https://github.com/eslachance/komada-pieces/pull/16#discussion_r85244598","pull_request_url":"https://api.github.com/repos/eslachance/komada-pieces/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/eslachance/komada-pieces/pulls/comments/85244598"},"html":{"href":"https://github.com/eslachance/komada-pieces/pull/16#discussion_r85244598"},"pull_request":{"href":"https://api.github.com/repos/eslachance/komada-pieces/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/eslachance/komada-pieces/pulls/16","id":90942737,"html_url":"https://github.com/eslachance/komada-pieces/pull/16","diff_url":"https://github.com/eslachance/komada-pieces/pull/16.diff","patch_url":"https://github.com/eslachance/komada-pieces/pull/16.patch","issue_url":"https://api.github.com/repos/eslachance/komada-pieces/issues/16","number":16,"state":"open","locked":false,"title":"Blacklist command/inhibitor","user":{"login":"UnseenFaith","id":1832323,"avatar_url":"https://avatars.githubusercontent.com/u/1832323?v=3","gravatar_id":"","url":"https://api.github.com/users/UnseenFaith","html_url":"https://github.com/UnseenFaith","followers_url":"https://api.github.com/users/UnseenFaith/followers","following_url":"https://api.github.com/users/UnseenFaith/following{/other_user}","gists_url":"https://api.github.com/users/UnseenFaith/gists{/gist_id}","starred_url":"https://api.github.com/users/UnseenFaith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UnseenFaith/subscriptions","organizations_url":"https://api.github.com/users/UnseenFaith/orgs","repos_url":"https://api.github.com/users/UnseenFaith/repos","events_url":"https://api.github.com/users/UnseenFaith/events{/privacy}","received_events_url":"https://api.github.com/users/UnseenFaith/received_events","type":"User","site_admin":false},"body":"Just made a small inhibitor/command to deal with people who don't deserve to use commands/people I don't feel like dealing with on a moderation level so I just remove their access to commands completely lol. Might be useful for other people... could also extend this to per-server-confs, just a thought.","created_at":"2016-10-26T06:19:24Z","updated_at":"2016-10-27T00:00:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"140a72a78d12e201fe11d3105c44456132916f32","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/eslachance/komada-pieces/pulls/16/commits","review_comments_url":"https://api.github.com/repos/eslachance/komada-pieces/pulls/16/comments","review_comment_url":"https://api.github.com/repos/eslachance/komada-pieces/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eslachance/komada-pieces/issues/16/comments","statuses_url":"https://api.github.com/repos/eslachance/komada-pieces/statuses/6e834b89007bc29d656d08f84a4a5cffb8c0851b","head":{"label":"UnseenFaith:master","ref":"master","sha":"6e834b89007bc29d656d08f84a4a5cffb8c0851b","user":{"login":"UnseenFaith","id":1832323,"avatar_url":"https://avatars.githubusercontent.com/u/1832323?v=3","gravatar_id":"","url":"https://api.github.com/users/UnseenFaith","html_url":"https://github.com/UnseenFaith","followers_url":"https://api.github.com/users/UnseenFaith/followers","following_url":"https://api.github.com/users/UnseenFaith/following{/other_user}","gists_url":"https://api.github.com/users/UnseenFaith/gists{/gist_id}","starred_url":"https://api.github.com/users/UnseenFaith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UnseenFaith/subscriptions","organizations_url":"https://api.github.com/users/UnseenFaith/orgs","repos_url":"https://api.github.com/users/UnseenFaith/repos","events_url":"https://api.github.com/users/UnseenFaith/events{/privacy}","received_events_url":"https://api.github.com/users/UnseenFaith/received_events","type":"User","site_admin":false},"repo":{"id":71964839,"name":"komada-pieces","full_name":"UnseenFaith/komada-pieces","owner":{"login":"UnseenFaith","id":1832323,"avatar_url":"https://avatars.githubusercontent.com/u/1832323?v=3","gravatar_id":"","url":"https://api.github.com/users/UnseenFaith","html_url":"https://github.com/UnseenFaith","followers_url":"https://api.github.com/users/UnseenFaith/followers","following_url":"https://api.github.com/users/UnseenFaith/following{/other_user}","gists_url":"https://api.github.com/users/UnseenFaith/gists{/gist_id}","starred_url":"https://api.github.com/users/UnseenFaith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UnseenFaith/subscriptions","organizations_url":"https://api.github.com/users/UnseenFaith/orgs","repos_url":"https://api.github.com/users/UnseenFaith/repos","events_url":"https://api.github.com/users/UnseenFaith/events{/privacy}","received_events_url":"https://api.github.com/users/UnseenFaith/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/UnseenFaith/komada-pieces","description":"Komada's repository for Authorized commands, functions, dataProviders and inhibitors.","fork":true,"url":"https://api.github.com/repos/UnseenFaith/komada-pieces","forks_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/forks","keys_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/teams","hooks_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/hooks","issue_events_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/issues/events{/number}","events_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/events","assignees_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/assignees{/user}","branches_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/branches{/branch}","tags_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/tags","blobs_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/git/refs{/sha}","trees_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/statuses/{sha}","languages_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/languages","stargazers_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/stargazers","contributors_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/contributors","subscribers_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/subscribers","subscription_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/subscription","commits_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/commits{/sha}","git_commits_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/git/commits{/sha}","comments_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/comments{/number}","issue_comment_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/issues/comments{/number}","contents_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/contents/{+path}","compare_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/merges","archive_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/downloads","issues_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/issues{/number}","pulls_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/pulls{/number}","milestones_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/milestones{/number}","notifications_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/labels{/name}","releases_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/releases{/id}","deployments_url":"https://api.github.com/repos/UnseenFaith/komada-pieces/deployments","created_at":"2016-10-26T03:58:59Z","updated_at":"2016-10-26T03:59:00Z","pushed_at":"2016-10-26T23:56:50Z","git_url":"git://github.com/UnseenFaith/komada-pieces.git","ssh_url":"git@github.com:UnseenFaith/komada-pieces.git","clone_url":"https://github.com/UnseenFaith/komada-pieces.git","svn_url":"https://github.com/UnseenFaith/komada-pieces","homepage":null,"size":29,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"master"}},"base":{"label":"eslachance:master","ref":"master","sha":"0a69f08c3eecc0af72186c634df3e3f7f37a590a","user":{"login":"eslachance","id":643344,"avatar_url":"https://avatars.githubusercontent.com/u/643344?v=3","gravatar_id":"","url":"https://api.github.com/users/eslachance","html_url":"https://github.com/eslachance","followers_url":"https://api.github.com/users/eslachance/followers","following_url":"https://api.github.com/users/eslachance/following{/other_user}","gists_url":"https://api.github.com/users/eslachance/gists{/gist_id}","starred_url":"https://api.github.com/users/eslachance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eslachance/subscriptions","organizations_url":"https://api.github.com/users/eslachance/orgs","repos_url":"https://api.github.com/users/eslachance/repos","events_url":"https://api.github.com/users/eslachance/events{/privacy}","received_events_url":"https://api.github.com/users/eslachance/received_events","type":"User","site_admin":false},"repo":{"id":71085222,"name":"komada-pieces","full_name":"eslachance/komada-pieces","owner":{"login":"eslachance","id":643344,"avatar_url":"https://avatars.githubusercontent.com/u/643344?v=3","gravatar_id":"","url":"https://api.github.com/users/eslachance","html_url":"https://github.com/eslachance","followers_url":"https://api.github.com/users/eslachance/followers","following_url":"https://api.github.com/users/eslachance/following{/other_user}","gists_url":"https://api.github.com/users/eslachance/gists{/gist_id}","starred_url":"https://api.github.com/users/eslachance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eslachance/subscriptions","organizations_url":"https://api.github.com/users/eslachance/orgs","repos_url":"https://api.github.com/users/eslachance/repos","events_url":"https://api.github.com/users/eslachance/events{/privacy}","received_events_url":"https://api.github.com/users/eslachance/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eslachance/komada-pieces","description":"Komada's repository for Authorized commands, functions, dataProviders and inhibitors.","fork":false,"url":"https://api.github.com/repos/eslachance/komada-pieces","forks_url":"https://api.github.com/repos/eslachance/komada-pieces/forks","keys_url":"https://api.github.com/repos/eslachance/komada-pieces/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eslachance/komada-pieces/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eslachance/komada-pieces/teams","hooks_url":"https://api.github.com/repos/eslachance/komada-pieces/hooks","issue_events_url":"https://api.github.com/repos/eslachance/komada-pieces/issues/events{/number}","events_url":"https://api.github.com/repos/eslachance/komada-pieces/events","assignees_url":"https://api.github.com/repos/eslachance/komada-pieces/assignees{/user}","branches_url":"https://api.github.com/repos/eslachance/komada-pieces/branches{/branch}","tags_url":"https://api.github.com/repos/eslachance/komada-pieces/tags","blobs_url":"https://api.github.com/repos/eslachance/komada-pieces/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eslachance/komada-pieces/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eslachance/komada-pieces/git/refs{/sha}","trees_url":"https://api.github.com/repos/eslachance/komada-pieces/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eslachance/komada-pieces/statuses/{sha}","languages_url":"https://api.github.com/repos/eslachance/komada-pieces/languages","stargazers_url":"https://api.github.com/repos/eslachance/komada-pieces/stargazers","contributors_url":"https://api.github.com/repos/eslachance/komada-pieces/contributors","subscribers_url":"https://api.github.com/repos/eslachance/komada-pieces/subscribers","subscription_url":"https://api.github.com/repos/eslachance/komada-pieces/subscription","commits_url":"https://api.github.com/repos/eslachance/komada-pieces/commits{/sha}","git_commits_url":"https://api.github.com/repos/eslachance/komada-pieces/git/commits{/sha}","comments_url":"https://api.github.com/repos/eslachance/komada-pieces/comments{/number}","issue_comment_url":"https://api.github.com/repos/eslachance/komada-pieces/issues/comments{/number}","contents_url":"https://api.github.com/repos/eslachance/komada-pieces/contents/{+path}","compare_url":"https://api.github.com/repos/eslachance/komada-pieces/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eslachance/komada-pieces/merges","archive_url":"https://api.github.com/repos/eslachance/komada-pieces/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eslachance/komada-pieces/downloads","issues_url":"https://api.github.com/repos/eslachance/komada-pieces/issues{/number}","pulls_url":"https://api.github.com/repos/eslachance/komada-pieces/pulls{/number}","milestones_url":"https://api.github.com/repos/eslachance/komada-pieces/milestones{/number}","notifications_url":"https://api.github.com/repos/eslachance/komada-pieces/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eslachance/komada-pieces/labels{/name}","releases_url":"https://api.github.com/repos/eslachance/komada-pieces/releases{/id}","deployments_url":"https://api.github.com/repos/eslachance/komada-pieces/deployments","created_at":"2016-10-17T00:06:12Z","updated_at":"2016-10-25T20:10:37Z","pushed_at":"2016-10-26T23:57:53Z","git_url":"git://github.com/eslachance/komada-pieces.git","ssh_url":"git@github.com:eslachance/komada-pieces.git","clone_url":"https://github.com/eslachance/komada-pieces.git","svn_url":"https://github.com/eslachance/komada-pieces","homepage":null,"size":48,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":9,"forks":6,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eslachance/komada-pieces/pulls/16"},"html":{"href":"https://github.com/eslachance/komada-pieces/pull/16"},"issue":{"href":"https://api.github.com/repos/eslachance/komada-pieces/issues/16"},"comments":{"href":"https://api.github.com/repos/eslachance/komada-pieces/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/eslachance/komada-pieces/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/eslachance/komada-pieces/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eslachance/komada-pieces/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/eslachance/komada-pieces/statuses/6e834b89007bc29d656d08f84a4a5cffb8c0851b"}}}}
{"actor":{"display_login":"hkwu"}}