diff options
Diffstat (limited to 'src/inhibitors/command/nsfw.ts')
-rw-r--r-- | src/inhibitors/command/nsfw.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inhibitors/command/nsfw.ts b/src/inhibitors/command/nsfw.ts index 3944fe3..7f0f3e7 100644 --- a/src/inhibitors/command/nsfw.ts +++ b/src/inhibitors/command/nsfw.ts @@ -13,6 +13,7 @@ export default class NsfwInhibitor extends BushInhibitor { public override async exec(message: BushMessage | BushSlashMessage, command: BushCommand): Promise<boolean> { if (command.onlyNsfw && !(message.channel as TextChannel).nsfw) { + void client.console.verbose('notNsfw', `Blocked message with id <<${message.id}>> from <<${message.author.tag}>> in <<${message.guild?.name}>>.`) return true; } return false; |