Optional
durationThe duration (in ms) usages should be tracked for
Optional
enabledWhether the cooldown is enabled and command throttling applies
Optional
persistentWhether the cooldown should persist across restarts
NOTE: This is ONLY a convenience option for the developer, we do not implement any persistence for you, you must do so yourself by using persistent command cooldown middleware. We have an example of this on the main template/example repository
Optional
typeThe type of command throttling applied to this command
Optional
usagesThe amount of times the command can be used within the specified duration
Represents on object with options to configure command cooldown/throttling