Date & Time
parseString
$parseString — Parses valid duration string to ms
Parses valid duration string to ms
Syntax
$parseString[duration]
Parameters
- duration (text, required) — The valid string to convert to ms
Return Value
- Number.
Usage
$parseString[duration] → result
Example
$sendMessage[$parseString[1h 30m]]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.