Skip to content

having trouble with text inputs... #115

Answered by ire4ever1190
derspyy asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to get it working by making the modal like this

  await discord.api.interactionResponseModal(i.id, i.token, InteractionCallbackDataModal(
    custom_id: "test",
    title: "test",
    components: @[newActionRow(@[
        MessageComponent(customID: some "lsdf", kind: TextInput, inputStyle: some Short, inputLabel: some "hello")
      ])
    ]
  ))

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@derspyy
Comment options

@krisppurg
Comment options

@derspyy
Comment options

Answer selected by derspyy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #114 on July 11, 2023 11:39.