From 0e149a6ad9b3fe0216a66ceef8ef57551ab6618c Mon Sep 17 00:00:00 2001 From: Matthew R Date: Fri, 5 Mar 2021 17:30:32 -0500 Subject: [PATCH] fix to slowmode cmd --- src/commands/slowmode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/slowmode.ts b/src/commands/slowmode.ts index 00e2490..729ff89 100644 --- a/src/commands/slowmode.ts +++ b/src/commands/slowmode.ts @@ -18,7 +18,7 @@ export default class Slowmode extends Command { public async run(message: Message, args: string[]) { try { - if (!args[0]) return this.error(message.channel, 'This command requires an argument.'); + if (!args[0]) return this.client.commands.get('help').run(message, [this.name]); const [length, unit] = args[0].match(this.regex); if (Number.isNaN(Number(length))) return this.error(message.channel, 'Could not determine the slowmode time.');