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