get Remaining
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
cooldown Type
The string representation of the type of the cooldown.
cooldown Owner
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
cooldown Type
The type of cooldown to check.
cooldown Owner
The owner UUID of the cooldown.