aboutsummaryrefslogtreecommitdiff
path: root/src/inhibitors
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-30 13:04:24 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-30 13:04:24 -0400
commitf5c2b7b946487c2828365cc63bc6f471dd6cfc2f (patch)
treeb225533c2858105b85ba118588954d9cb1ee9781 /src/inhibitors
parent1c6d451ffd63f9805b978e8565807e8a6b528681 (diff)
downloadtanzanite-f5c2b7b946487c2828365cc63bc6f471dd6cfc2f.tar.gz
tanzanite-f5c2b7b946487c2828365cc63bc6f471dd6cfc2f.tar.bz2
tanzanite-f5c2b7b946487c2828365cc63bc6f471dd6cfc2f.zip
clean up and fix stuff
Diffstat (limited to 'src/inhibitors')
-rw-r--r--src/inhibitors/blacklist/channelGlobalBlacklist.ts2
-rw-r--r--src/inhibitors/blacklist/channelGuildBlacklist.ts2
-rw-r--r--src/inhibitors/blacklist/guildBlacklist.ts2
-rw-r--r--src/inhibitors/blacklist/userGlobalBlacklist.ts2
-rw-r--r--src/inhibitors/blacklist/userGuildBlacklist.ts2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/inhibitors/blacklist/channelGlobalBlacklist.ts b/src/inhibitors/blacklist/channelGlobalBlacklist.ts
index 0ddb2bb..28a2c5e 100644
--- a/src/inhibitors/blacklist/channelGlobalBlacklist.ts
+++ b/src/inhibitors/blacklist/channelGlobalBlacklist.ts
@@ -14,7 +14,7 @@ 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.blacklistedChannels.includes(message.channel.id)) {
- client.console.debug(`channelGlobalBlacklist blocked message.`);
+ // client.console.debug(`channelGlobalBlacklist blocked message.`);
return true;
}
}
diff --git a/src/inhibitors/blacklist/channelGuildBlacklist.ts b/src/inhibitors/blacklist/channelGuildBlacklist.ts
index 13f3644..7fa4ccf 100644
--- a/src/inhibitors/blacklist/channelGuildBlacklist.ts
+++ b/src/inhibitors/blacklist/channelGuildBlacklist.ts
@@ -14,7 +14,7 @@ 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.`);
+ // client.console.debug(`channelGuildBlacklist blocked message.`);
return true;
}
}
diff --git a/src/inhibitors/blacklist/guildBlacklist.ts b/src/inhibitors/blacklist/guildBlacklist.ts
index 0d99c38..5a2123c 100644
--- a/src/inhibitors/blacklist/guildBlacklist.ts
+++ b/src/inhibitors/blacklist/guildBlacklist.ts
@@ -17,7 +17,7 @@ export default class GuildBlacklistInhibitor extends BushInhibitor {
)
return false;
if (client.cache.global.blacklistedGuilds.includes(message.guild.id)) {
- client.console.debug(`GuildBlacklistInhibitor blocked message.`);
+ // client.console.debug(`GuildBlacklistInhibitor blocked message.`);
return true;
}
}
diff --git a/src/inhibitors/blacklist/userGlobalBlacklist.ts b/src/inhibitors/blacklist/userGlobalBlacklist.ts
index 4ad1982..d8964a4 100644
--- a/src/inhibitors/blacklist/userGlobalBlacklist.ts
+++ b/src/inhibitors/blacklist/userGlobalBlacklist.ts
@@ -14,7 +14,7 @@ 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.`);
+ // client.console.debug(`userGlobalBlacklist blocked message.`);
return true;
}
}
diff --git a/src/inhibitors/blacklist/userGuildBlacklist.ts b/src/inhibitors/blacklist/userGuildBlacklist.ts
index 473c0fb..0bc6749 100644
--- a/src/inhibitors/blacklist/userGuildBlacklist.ts
+++ b/src/inhibitors/blacklist/userGuildBlacklist.ts
@@ -14,7 +14,7 @@ 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.`);
+ // client.console.debug(`userGuildBlacklist blocked message.`);
return true;
}
}