aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev/superUser.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/dev/superUser.ts')
-rw-r--r--src/commands/dev/superUser.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/commands/dev/superUser.ts b/src/commands/dev/superUser.ts
index eade861..22fa53f 100644
--- a/src/commands/dev/superUser.ts
+++ b/src/commands/dev/superUser.ts
@@ -37,7 +37,10 @@ export default class SuperUserCommand extends BushCommand {
};
return { action, user };
}
- public async exec(message: BushMessage | BushSlashMessage, args: { action: 'add' | 'remove'; user: User }): Promise<unknown> {
+ public override async exec(
+ message: BushMessage | BushSlashMessage,
+ args: { action: 'add' | 'remove'; user: User }
+ ): Promise<unknown> {
if (!message.author.isOwner())
return await message.util.reply(`${util.emojis.error} Only my developers can run this command.`);