Modal not appearing after user is selected from UserSelectMenu
How would I get a module to be created after a member is selected from a user select menu?
I think my main issue not being able to figure out how to get the user that was selected. Everything else seems to work so far.
This is the event file for interactionCreate:
5 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OP@Squid
I actually figured that out on my own but have another issue
the module is still not popping up, even with the updated edit
At one point, I used console.log to make sure that it is at least getting to where the modal is supposed to create, and it is. But, the module is not showing
It's not showing because you never called
interaction.showModal(modal)
You're defining a modal and adding a component to it, but you never sent that data over to discordjesus I copied it from another script to switch locations
it should have been there
thank you