$getCooldownTime
Returns remaining time of a cooldown in miliseconds.
Usage
$getCooldownTime[time;type;id]
- time - (Optional) default value: (last cooldown set). The time your cooldown was set to.
- type - (Optional) default value:
user. Can beuser,channelorserver. The type of cooldown to return remaining time of. - id - (Optional) default value:
$authorIDif type is user. The ID of a user or a channel to check cooldown from.
Example
Using $getCooldownTime
How to use $getCooldownTime
Note
The time argument in must exactly match the time in the original cooldown function used. Mismatched durations will result in incorrect cooldown checks.
