mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-11 13:56:15 +00:00
fix(bots/discord/utils/duration): make second the default unit
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import parse from 'parse-duration'
|
||||
|
||||
parse[''] = parse['s']
|
||||
parse['mo'] = parse['M'] = parse['month']!
|
||||
|
||||
const defaultUnitValue = parse['']!
|
||||
|
||||
Reference in New Issue
Block a user