Rate Limit Handler
Defines the behavior when a rate limit is triggered.
Inheritors
Functions
Link copied to clipboard
abstract suspend fun <T : GenericComponentInteractionCreateEvent, IReplyCallback, IMessageEditCallback> onRateLimit(context: BContext, event: T, probe: ConsumptionProbe)
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)