Package-level declarations
Types
Abstract class representing a basic Discord component.
Class representing a single set of components that can be applied to any message.
Abstract class representing the execution context for a generic components.
Component registry, keeps track of components and handles incoming interaction events, dispatching as needed to registered component actions.
Abstract class representing a component with both an ID and executable action.
Abstract class representing a component with an ID, which defaults to a newly-generated UUID.
Properties
Functions
Convenience function for applying the components in a ComponentContainer to a message you're creating.
DSL-style factory function to make component containers these by hand easier.
Convenience function for creating a ComponentContainer and components, and applying it to a message you're creating. Supply a timeout and the components you add will be removed from the registry after the given period of inactivity.
DSL function for creating a disabled button and adding it to the current ComponentContainer.
DSL function for creating an ephemeral button and adding it to the current ComponentContainer.
DSL function for creating an ephemeral button with modal, and adding it to the current ComponentContainer.
DSL function for creating an ephemeral channel select menu and adding it to the current ComponentContainer.
DSL function for creating an ephemeral mentionable select menu, and adding it to the current ComponentContainer.
DSL function for creating an ephemeral role select menu and adding it to the current ComponentContainer.
DSL function for creating an ephemeral string select menu and adding it to the current ComponentContainer.
DSL function for creating an ephemeral user select menu and adding it to the current ComponentContainer.
DSL function for creating a link button and adding it to the current ComponentContainer.
DSL function for creating a public button and adding it to the current ComponentContainer.
DSL function for creating a public button with modal, and adding it to the current ComponentContainer.
DSL function for creating a public channel select menu and adding it to the current ComponentContainer.
DSL function for creating a public mentionable select menu and adding it to the current ComponentContainer.
DSL function for creating a public role select menu and adding it to the current ComponentContainer.
DSL function for creating a public string select menu and adding it to the current ComponentContainer.
DSL function for creating a public user select menu and adding it to the current ComponentContainer.