aboutsummaryrefslogtreecommitdiff
path: root/src/inhibitors/blacklist/userGlobalBlacklist.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/inhibitors/blacklist/userGlobalBlacklist.ts')
-rw-r--r--src/inhibitors/blacklist/userGlobalBlacklist.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inhibitors/blacklist/userGlobalBlacklist.ts b/src/inhibitors/blacklist/userGlobalBlacklist.ts
index 967943d..65d763d 100644
--- a/src/inhibitors/blacklist/userGlobalBlacklist.ts
+++ b/src/inhibitors/blacklist/userGlobalBlacklist.ts
@@ -5,7 +5,8 @@ export default class UserGlobalBlacklistInhibitor extends BushInhibitor {
super('userGlobalBlacklist', {
reason: 'userGlobalBlacklist',
category: 'blacklist',
- type: 'all'
+ type: 'pre',
+ priority: 30
});
}
@@ -14,7 +15,6 @@ export default class UserGlobalBlacklistInhibitor extends BushInhibitor {
if (client.isOwner(message.author) || client.isSuperUser(message.author) || client.user!.id === message.author.id)
return false;
if (client.cache.global.blacklistedUsers.includes(message.author.id)) {
- // client.console.debug(`userGlobalBlacklist blocked message.`);
return true;
}
return false;