Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
interface ExecutableCommandBuilder<T : OptionAggregateBuilder<T>> : CommandBuilder, OptionRegistry<T>
Link copied to clipboard
Builder interface for rate limits.
Functions
Link copied to clipboard
fun CommandBuilder.cooldown(duration: Duration, scope: RateLimitScope = RateLimitScope.USER, deleteOnRefill: Boolean = true, block: RateLimitBuilder.() -> Unit = {})
Sets an anonymous rate limit-based cooldown on this command. This cooldown cannot be referenced anywhere else as it is not registered.