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