diff options
Diffstat (limited to 'src/inhibitors')
-rw-r--r-- | src/inhibitors/blacklist/channelGlobalBlacklist.ts | 2 | ||||
-rw-r--r-- | src/inhibitors/blacklist/channelGuildBlacklist.ts | 2 | ||||
-rw-r--r-- | src/inhibitors/blacklist/guildBlacklist.ts | 2 | ||||
-rw-r--r-- | src/inhibitors/blacklist/userGlobalBlacklist.ts | 2 | ||||
-rw-r--r-- | src/inhibitors/blacklist/userGuildBlacklist.ts | 2 |
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; } } |