ModalForm
Class representing a modal form.
This should be extended by classes representing individual modals.
Functions
Given a ModalBuilder, apply this modal's widgets for display on Discord.
Wait for this modal to be completed and call the callback. Parameter will be null if timed out.
A widget representing a single-line text input.
A widget representing a multi-line paragraph input.
Convenience function that calls the basic sendAndAwait function with parameters taken from the current command context.
Convenience function that calls the basic sendAndAwait function with parameters taken from the current component context.
Convenience function that calls the basic sendAndAwait function with parameters taken from the current event context.
Convenience function to send this modal to the given interaction and await its completion, running the provided callback.
Convenience function that sends the modal, awaits its completion, and returns a deferred ephemeral interaction response.
Convenience function that sends the modal, awaits its completion, and returns a deferred public interaction response.
Return a translated modal title using the given locale.