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.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inhibitors/blacklist/userGuildBlacklist.ts b/src/inhibitors/blacklist/userGuildBlacklist.ts
index dc299c3..e1c40ce 100644
--- a/src/inhibitors/blacklist/userGuildBlacklist.ts
+++ b/src/inhibitors/blacklist/userGuildBlacklist.ts
@@ -15,6 +15,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)) {
+ void client.console.verbose('userGuildBlacklist', `Blocked message with id <<${message.id}>> from <<${message.author.tag}>> in <<${message.guild.name}>>.`)
return true;
}
return false;