$getCooldown
Returns how long is left on the cooldown, in seconds.
Syntax
$getCooldown[Cooldown type]
Parameters
Cooldown type(Type: Enum || Flag: Required): The type of the cooldown. Cooldown types:normal- Normal cooldown ($cooldown[])server- Server cooldown ($serverCooldown[])global- Global cooldown ($globalCooldown[])
Example
$nomention
$cooldown[1h;You're on cooldown! (<t:$sum[$getTimestamp;$getCooldown[normal]]:R>)]
Hello world!
In 1 hour
)
How $cooldown[], $sum[] and $getTimestamp works?