IEphemeral Actionable Component
interface IEphemeralActionableComponent<T : IEphemeralActionableComponent<T, E>, E : GenericComponentInteractionCreateEvent> : IActionableComponent<T> (source)
Allows components to have ephemeral handlers bound to them.
These handlers will not exist anymore after a restart.
Inheritors
Functions
Link copied to clipboard
Applies a filter to this component.
Link copied to clipboard
@CheckReturnValue
abstract fun bindTo(handler: suspend (E) -> Unit, block: ReceiverConsumer<EphemeralHandlerBuilder<E>>): T
Binds the given handler to this component.
Link copied to clipboard
Convenience extension to load an ComponentInteractionFilter service.
Link copied to clipboard
Sets the rate limiter of this component to one declared by a RateLimitProvider.