NoCliCooldownKeyOptions

The Setup configuration for Cooldowns.getKeyFromCooldownUsage() function | Type Annotation

Parameter
Description
Type
Required

cooldownType

The type of the cooldown

true

errorMessage

The error message to send to the user

String[]

false

botOwnersBypass

Whether to allow bot owners to bypass cooldowns

Boolean

false

dbRequired

If a command cooldown exceeds the current cooldown limit set for this option, they will be stored in a MongoDB database

Number

false

Last updated