getAllCooldowns

abstract fun getAllCooldowns(@NotNull prefix: @NotNull String): List<Cooldown>(source)

Retrieves all cooldowns from the database.

Return

a list of all the cooldowns in the database

Parameters

tablePrefix

the prefix to be used for the table name, if any

Throws

if there is an error retrieving the cooldowns