fix(bots/discord/utils/duration): make second the default unit

This commit is contained in:
PalmDevs
2025-03-04 02:17:59 +07:00
parent 14c98e87df
commit 5d1af3c31c

View File

@@ -1,5 +1,6 @@
import parse from 'parse-duration'
parse[''] = parse['s']
parse['mo'] = parse['M'] = parse['month']!
const defaultUnitValue = parse['']!