From 44521f4560dc8b0bab055685437d8fa65a34377f Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Thu, 21 Oct 2021 23:35:13 -0400 Subject: misc --- src/commands/moderation/slowmode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/moderation/slowmode.ts') diff --git a/src/commands/moderation/slowmode.ts b/src/commands/moderation/slowmode.ts index d90f122..75d795c 100644 --- a/src/commands/moderation/slowmode.ts +++ b/src/commands/moderation/slowmode.ts @@ -65,7 +65,7 @@ export default class SlowModeCommand extends BushCommand { if (length) { length = typeof length === 'string' && !['off', 'none', 'disable'].includes(length) - ? await util.arg.cast('duration', client.commandHandler.resolver, message as BushMessage, length) + ? await util.arg.cast('duration', message, length) : length; } -- cgit