aboutsummaryrefslogtreecommitdiff
path: root/src/arguments/duration.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-06-16 14:32:18 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-06-16 14:32:18 -0400
commit0e87bbd3940d89defcb04926587b35c8f4d1947f (patch)
treee50860d4dc25a11d4c3977b583284c4bcad1b077 /src/arguments/duration.ts
parent661e4c9935aeb8760dafc7ced4bbec6cc356a033 (diff)
downloadtanzanite-0e87bbd3940d89defcb04926587b35c8f4d1947f.tar.gz
tanzanite-0e87bbd3940d89defcb04926587b35c8f4d1947f.tar.bz2
tanzanite-0e87bbd3940d89defcb04926587b35c8f4d1947f.zip
remove util classes, move config out of src
Diffstat (limited to 'src/arguments/duration.ts')
-rw-r--r--src/arguments/duration.ts4
1 files changed, 2 insertions, 2 deletions
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<number | null> = (_, phrase) => {
- return client.util.parseDuration(phrase).duration;
+ return parseDuration(phrase).duration;
};