Modal is not showing after selecting an option

Help me pls gonna send the code
14 Replies
d.js toolkit
d.js toolkit2y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
MachadoDev
MachadoDevOP2y ago
[email protected] node: 18.13.0 i dont have errors i want the modal to show up vyt the interaction dont reply
d.js docs
d.js docs2y ago
Tag suggestion for @machado.dev: To share long code snippets use a service like gist, sourcebin, starbin, or similar instead of posting them as large code blocks.
MachadoDev
MachadoDevOP2y ago
sure give me a minute
MachadoDev
MachadoDevOP2y ago
SourceBin
TicketMenu.js - Events
Interaction don't reply i want to show the modal and submit and create the channel etc, but when i choose the option nothing happens
treble/luna
treble/luna2y ago
and with which components do you trigger the interaction? A selectmenu? oh i see, interaction.values, not value
MachadoDev
MachadoDevOP2y ago
a stringselect menu yeah
MachadoDev
MachadoDevOP2y ago
SourceBin
Ticket.js
Instantly share your code with the world.
treble/luna
treble/luna2y ago
.
MachadoDev
MachadoDevOP2y ago
well it stays the same
treble/luna
treble/luna2y ago
did you change it?
MachadoDev
MachadoDevOP2y ago
yup
d.js docs
d.js docs2y ago
If you aren't getting any errors, try to place console.log checkpoints throughout your code to find out where execution stops. - Once you do, log relevant values and if-conditions - More sophisticated debugging methods are breakpoints and runtime inspections: learn more
MachadoDev
MachadoDevOP2y ago
ok i got to the modal BUT Invalid string length how do i declare a string lenght forget it

Did you find this page helpful?