diff options
Diffstat (limited to 'src/commands/dev/sh.ts')
-rw-r--r-- | src/commands/dev/sh.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/dev/sh.ts b/src/commands/dev/sh.ts index 3fca2b2..11cd28d 100644 --- a/src/commands/dev/sh.ts +++ b/src/commands/dev/sh.ts @@ -19,7 +19,7 @@ export default class ShCommand extends BushCommand { category: 'dev', description: { content: 'Run shell commands.', - usage: 'sh <command>', + usage: ['sh <command>'], examples: ['sh git pull'] }, args: [ @@ -39,7 +39,7 @@ export default class ShCommand extends BushCommand { }); } - public override async exec(message: BushMessage | BushSlashMessage, { command }: { command: string }): Promise<unknown> { + public override async exec(message: BushMessage | BushSlashMessage, { command }: { command: string }) { if (!client.config.owners.includes(message.author.id)) return await message.util.reply(`${util.emojis.error} Only my developers can run this command.`); const input = clean(command); |