From 0e87bbd3940d89defcb04926587b35c8f4d1947f Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Thu, 16 Jun 2022 14:32:18 -0400 Subject: remove util classes, move config out of src --- src/arguments/duration.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arguments/duration.ts') diff --git a/src/arguments/duration.ts b/src/arguments/duration.ts index ffd9159..09dd3d5 100644 --- a/src/arguments/duration.ts +++ b/src/arguments/duration.ts @@ -1,5 +1,5 @@ -import type { BushArgumentTypeCaster } from '#lib'; +import { parseDuration, type BushArgumentTypeCaster } from '#lib'; export const duration: BushArgumentTypeCaster = (_, phrase) => { - return client.util.parseDuration(phrase).duration; + return parseDuration(phrase).duration; }; -- cgit