Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class Button : AbstractAwaitableComponent<ButtonEvent> , Button, IdentifiableComponent
Link copied to clipboard

Factory for buttons, see Components for more details.

Link copied to clipboard
@InterfacedService(acceptMultiple = true)
interface ComponentInteractionFilter<T : Any> : Filter

Prevents component execution by returning an error object to the component executor.

Link copied to clipboard
@InterfacedService(acceptMultiple = false)
interface ComponentInteractionRejectionHandler<T : Any>

Processes component interaction rejections returned by component interaction filters.

Link copied to clipboard

This class lets you create smart components such as buttons, select menus, and groups.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Factory for select menus, see Components for more details.

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard

Suspends until the component is used and all checks passed, and returns the event.

Link copied to clipboard

Suspends until the component is used and all checks passed, and returns the event, or null if the timeout has been reached.

Link copied to clipboard

Suspends until the component is used and all checks passed, and returns the event, or null if the timeout has been reached.

Link copied to clipboard