Skip to content
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
@piuvas
Comment options

@krisppurg
Comment options

@piuvas
Comment options

Answer selected by piuvas
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.