From a39aa8c11a3fd5dd5f007865960ef5429744f057 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Sun, 7 Nov 2021 09:25:13 -0500 Subject: made some constants enums and fixed perm check overriding inhibitors --- src/inhibitors/command/owner.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/inhibitors/command/owner.ts') diff --git a/src/inhibitors/command/owner.ts b/src/inhibitors/command/owner.ts index 816db0b..86bab76 100644 --- a/src/inhibitors/command/owner.ts +++ b/src/inhibitors/command/owner.ts @@ -13,6 +13,7 @@ export default class OwnerInhibitor extends BushInhibitor { public override async exec(message: BushMessage | BushSlashMessage, command: BushCommand): Promise { if (command.ownerOnly) { if (!client.isOwner(message.author)) { + void client.console.verbose('owner', `Blocked message with id <<${message.id}>> from <<${message.author.tag}>> in <<${message.guild?.name}>>.`) return true; } } -- cgit