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.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/dev/superUser.ts b/src/commands/dev/superUser.ts
index fcdec53..147a6c4 100644
--- a/src/commands/dev/superUser.ts
+++ b/src/commands/dev/superUser.ts
@@ -9,7 +9,7 @@ export default class SuperUserCommand extends BushCommand {
category: 'dev',
description: {
content: 'A command to manage superusers.',
- usage: 'superuser <add/remove> <user>',
+ usage: ['superuser <add/remove> <user>'],
examples: ['superuser add IRONM00N']
},
clientPermissions: (m) => util.clientSendAndPermCheck(m),
@@ -44,7 +44,7 @@ export default class SuperUserCommand extends BushCommand {
public override async exec(
message: BushMessage | BushSlashMessage,
{ action, user }: { 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.`);