diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-22 19:01:46 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-22 19:01:46 -0500 |
commit | fce1fc87feb3e6dad1a956d757d856833c9ea5f6 (patch) | |
tree | 723ca41af60df525b89c6ff5b4e9574f78235734 /src/inhibitors/command/nsfw.ts | |
parent | 23bf2485fe17472f17bd0ee0af6b22973e317550 (diff) | |
download | tanzanite-fce1fc87feb3e6dad1a956d757d856833c9ea5f6.tar.gz tanzanite-fce1fc87feb3e6dad1a956d757d856833c9ea5f6.tar.bz2 tanzanite-fce1fc87feb3e6dad1a956d757d856833c9ea5f6.zip |
update contributors, fix formatting, added a bunch of repo forks
Diffstat (limited to 'src/inhibitors/command/nsfw.ts')
-rw-r--r-- | src/inhibitors/command/nsfw.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/inhibitors/command/nsfw.ts b/src/inhibitors/command/nsfw.ts index 7f0f3e7..fb4e51f 100644 --- a/src/inhibitors/command/nsfw.ts +++ b/src/inhibitors/command/nsfw.ts @@ -13,7 +13,10 @@ 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}>>.`) + void client.console.verbose( + 'notNsfw', + `Blocked message with id <<${message.id}>> from <<${message.author.tag}>> in <<${message.guild?.name}>>.` + ); return true; } return false; |