aboutsummaryrefslogtreecommitdiff
path: root/src/inhibitors/checks/guildUnavailable.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/inhibitors/checks/guildUnavailable.ts')
-rw-r--r--src/inhibitors/checks/guildUnavailable.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inhibitors/checks/guildUnavailable.ts b/src/inhibitors/checks/guildUnavailable.ts
index 2ac491d..38d0ffa 100644
--- a/src/inhibitors/checks/guildUnavailable.ts
+++ b/src/inhibitors/checks/guildUnavailable.ts
@@ -12,6 +12,7 @@ export default class GuildUnavailableInhibitor extends BushInhibitor {
public override async exec(message: BushMessage | BushSlashMessage): Promise<boolean> {
if (message.guild && !message.guild.available) {
+ void client.console.verbose('guildUnavailable', `Blocked message with id <<${message.id}>> from <<${message.author.tag}>> in <<${message.guild.name}>>.`)
return true;
}
return false;