RateLimitHandler

Defines the behavior when a rate limited is triggered.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun <T : GenericCommandInteractionEvent, IReplyCallback> onRateLimit(context: BContext, event: T, commandInfo: ApplicationCommandInfo, probe: ConsumptionProbe)
abstract suspend fun onRateLimit(context: BContext, event: MessageReceivedEvent, commandInfo: TextCommandInfo, probe: ConsumptionProbe)