aboutsummaryrefslogtreecommitdiff
path: root/src/arguments/contentWithDuration.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/arguments/contentWithDuration.ts')
-rw-r--r--src/arguments/contentWithDuration.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arguments/contentWithDuration.ts b/src/arguments/contentWithDuration.ts
index 314b761..38b3fa4 100644
--- a/src/arguments/contentWithDuration.ts
+++ b/src/arguments/contentWithDuration.ts
@@ -1,8 +1,8 @@
-import { BushArgumentTypeCaster, BushMessage } from '@lib';
+import { BushArgumentTypeCaster } from '@lib';
export const contentWithDurationTypeCaster: BushArgumentTypeCaster = async (
- _message: BushMessage,
- phrase: string
+ _,
+ phrase
): Promise<{ duration: number; contentWithoutTime: string | null }> => {
return client.util.parseDuration(phrase);
};