$getCooldownTime

To get the cooldown time left set by $cooldown functions in millisecond.

Type can be: user, channel, server

Usage

$getCooldownTime[time (i.e 10m);type (i.e server);id (in case of user id or channel id)]
1

Example:

$if[$getCoolDownTime[10m;server]!=0]
    $interactionReply[You can't use this, this command is globally on cooldown]
    $stop
$else
    $servercooldown[10m]
$endIf
... REST OF CODE
1
2
3
4
5
6
7