FunctionsCooldown functions
$getCooldownTime
Returns remaining time of a cooldown in miliseconds.
Usage
$getCooldownTime[time;type;id;token]- 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. - token - (Optional) default value is the current command. It specify which command it should get the cooldown of
Example
Using $getCooldownTime
How to use $getCooldownTime
Member
9/5/2026
!!exec $channelCooldown[5m] $getCooldownTime[5m;channel;$channelID]
Custom Command
APP
9/5/2026
299937
Note
The time argument in must exactly match the time in the original cooldown function used. Mismatched durations will result in incorrect cooldown checks.
Related Functions: $clearCooldown
Function difficulty: Medium
Tags: Tag1 Tag2