getRemaining

open fun getRemaining(@NotNull cooldownType: @NotNull String, @NotNull cooldownOwner: @NotNull UUID): Int(source)

Get the remaining time of the cooldown.

Return

The remaining time of the cooldown in seconds.

Parameters

cooldownType

The string representation of the type of the cooldown.

cooldownOwner

The UUID of the owner of the cooldown.


open fun getRemaining(@NotNull cooldownType: @NotNull Cooldown.Type, @NotNull cooldownOwner: @NotNull UUID): Int(source)

Get the remaining time of the cooldown in seconds.

Return

The remaining time in seconds.

Parameters

cooldownType

The type of cooldown to check.

cooldownOwner

The owner UUID of the cooldown.