aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev/reload.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/dev/reload.ts')
-rw-r--r--src/commands/dev/reload.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/dev/reload.ts b/src/commands/dev/reload.ts
index 43b8ab6..a95106f 100644
--- a/src/commands/dev/reload.ts
+++ b/src/commands/dev/reload.ts
@@ -7,7 +7,7 @@ export default class ReloadCommand extends BushCommand {
category: 'dev',
description: {
content: 'Reloads the bot',
- usage: 'reload',
+ usage: ['reload'],
examples: ['reload']
},
// args: [
@@ -33,7 +33,7 @@ export default class ReloadCommand extends BushCommand {
});
}
- public override async exec(message: BushMessage | BushSlashMessage /* { fast }: { fast: boolean } */): Promise<unknown> {
+ public override async exec(message: BushMessage | BushSlashMessage /* { fast }: { fast: boolean } */) {
if (!message.author.isOwner())
return await message.util.reply(`${util.emojis.error} Only my developers can run this command.`);