Cooldown
Add a simple rate limit-based cooldown of this text / application command and components.
Note: This won't apply if you are a bot owner.
Text commands note: This applies to the command itself, not only this variation, in other words, this applies to all commands with the same path.
Persistent bucket storage
Since this annotation stores buckets in-memory by default, the rate limits applied will be lost upon restart, however you can implement AnnotatedRateLimiterFactory in a service, and then uses your own ProxyManager which stores your buckets in persistent storage, alongside RateLimiter.createDefaultProxied.
Cooldown cancellation
The cooldown can be cancelled inside the command with CancellableRateLimit.cancelRateLimit on your event.
See also
Properties
Cooldown time in the specified unit before the command can be used again in the scope specified by scope.
Whether the cooldown message should be deleted after the cooldown has expired.
Scope of the cooldown, see RateLimitScope values.
The time unit of the cooldown