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/contentWithDuration.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arguments/contentWithDuration.ts') diff --git a/src/arguments/contentWithDuration.ts b/src/arguments/contentWithDuration.ts index e92997a..0efba39 100644 --- a/src/arguments/contentWithDuration.ts +++ b/src/arguments/contentWithDuration.ts @@ -1,5 +1,5 @@ -import type { BushArgumentTypeCaster, ParsedDuration } from '#lib'; +import { parseDuration, type BushArgumentTypeCaster, type ParsedDuration } from '#lib'; export const contentWithDuration: BushArgumentTypeCaster> = async (_, phrase) => { - return client.util.parseDuration(phrase); + return parseDuration(phrase); }; -- cgit