How do I use a text input select menu in DJS?
An example would be a search menu. What do I do to show a string input box using MessageSelectMenus with type 3? I've read the docs and have gotten many errors and I don't understand the need for
options
if the user can type whatever they want?18 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
They cant? Select menus have predetermined options, you cant type in them at all
If you want a slash command option with preset choices, you set them
Wait
the docs were very fuzzy there
I thought they meant you could type an input
is there a way to type in your string though?
oh also in that guide it was talking about SlashCommandBuilders, and i meant MessageSelectMenus instead, if you didn't understand 😬
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Yeah select menus have no ability to type into
Theyre just selecting
So I dont think its me that didnt understand things
I'm back with a new question about Modals: If I do interaction.showModal after the bot replies with "the application did not respond" it errors and I'm wondering how I would show the modal and reply to the command with embeds at the same time?
Send them in response to the modal?
Hmm
I wanted a system that sends and embed with a menuselect and when you select search and it pops up a modal to search for something
Thats fine
Show the modal in response to the select menu interaction then
... how do i do that
because it either tells me that the interaction has been replied to "interaction.reply({embeds:[embed],components:[row]})" or unknown interaction when i use "interaction.channel.send(same parameters)"
What are your replies currently and how are you listening to the select menu?
message component listener
and right now im using interaction.channel.send and not interaction.reply
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
i know... also i had this server muted so i dont get notifications here often
But if i respond with an embed, then try using interaction.showModal, I get an error saying I already sent a response. How do I get both to work with each other?
The showModal must be your initial interaction acknowledgment, so you can show the modal, and then followUp with the embed message
but i wanna show the embed first
How/why
That doesnt make sense, the modal is going to cover it
They wont see it