diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-18 22:27:57 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-18 22:27:57 -0400 |
commit | dca5041fab25eb7c81cabd6ddbd418b311c65fcc (patch) | |
tree | a3adf9b13d5ca13dcd44112ef18abd0e7315d4d1 /src/arguments/duration.ts | |
parent | 04dc104726fa1519480ba1889c1307ec3ad9be19 (diff) | |
download | tanzanite-dca5041fab25eb7c81cabd6ddbd418b311c65fcc.tar.gz tanzanite-dca5041fab25eb7c81cabd6ddbd418b311c65fcc.tar.bz2 tanzanite-dca5041fab25eb7c81cabd6ddbd418b311c65fcc.zip |
fix slowmode
Diffstat (limited to 'src/arguments/duration.ts')
-rw-r--r-- | src/arguments/duration.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arguments/duration.ts b/src/arguments/duration.ts index 6e76034..9f3cf99 100644 --- a/src/arguments/duration.ts +++ b/src/arguments/duration.ts @@ -1,5 +1,5 @@ import { BushArgumentTypeCaster } from '@lib'; -export const durationTypeCaster: BushArgumentTypeCaster = (_, phrase): number => { +export const durationTypeCaster: BushArgumentTypeCaster = (_, phrase): number | null => { return client.util.parseDuration(phrase).duration; }; |