$getCooldownTime
Gets how much time is left on a cooldown, in milliseconds.
Usage
This function has two params.
Param
Description
Type
Required
commandName
The command to get the cooldown from.
String
Yes
`$getCooldownTime` returns `0` if there is no cooldown active for the provided `commandName` on `id`.
Example
Last updated
Was this helpful?