$getCooldown

Returns how long is left on the cooldown, in seconds.

Note

This function can be used in the “Error message” field of cooldown functions.

Syntax

$getCooldown[Cooldown type (normal/server/global)]

Parameters

  • Cooldown type (Type: Enum || Flag: Required): The type of the cooldown. Cooldown types:

Example

$nomention
$cooldown[1h;You're on cooldown! (<t:$sum[$getTimestamp;$getCooldown[normal]]:R>)]
Hello world!
!example Hello world! !example You're on cooldown! (
In 1 hour
)