aboutsummaryrefslogtreecommitdiff
path: root/src/inhibitors/command/superUser.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/inhibitors/command/superUser.ts')
-rw-r--r--src/inhibitors/command/superUser.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/inhibitors/command/superUser.ts b/src/inhibitors/command/superUser.ts
index a34df6d..a7c1f47 100644
--- a/src/inhibitors/command/superUser.ts
+++ b/src/inhibitors/command/superUser.ts
@@ -13,7 +13,10 @@ export default class SuperUserInhibitor extends BushInhibitor {
public override async exec(message: BushMessage | BushSlashMessage, command: BushCommand): Promise<boolean> {
if (command.superUserOnly) {
if (!client.isSuperUser(message.author)) {
- void client.console.verbose('superUser', `Blocked message with id <<${message.id}>> from <<${message.author.tag}>> in <<${message.guild?.name}>>.`)
+ void client.console.verbose(
+ 'superUser',
+ `Blocked message with id <<${message.id}>> from <<${message.author.tag}>> in <<${message.guild?.name}>>.`
+ );
return true;
}
}