Skip to content

How do I submit a modal? #547

Closed Answered by dolfies
RobbyV2 asked this question in Help
Aug 4, 2023 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

The Modal class also has a components array of ActionRows. Each ActionRow will contain a single TextInput class, on which you can call .answer(). After that, you can call modal.submit() as you already are. Please reference the documentation.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Chuckleluckle
Comment options

@EvanDev1
Comment options

@MCausc78
Comment options

@EvanDev1
Comment options

Answer selected by dolfies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
5 participants