Modal is not showing after selecting an option

Help me pls gonna send the code
14 Replies
d.js toolkit
d.js toolkit•3y 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
MachadoDevOP•3y ago
discord.js@14.11.0 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 docs•3y 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
MachadoDevOP•3y ago
sure give me a minute
MachadoDev
MachadoDevOP•3y 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/luna•3y ago
and with which components do you trigger the interaction? A selectmenu? oh i see, interaction.values, not value
MachadoDev
MachadoDevOP•3y ago
a stringselect menu yeah
MachadoDev
MachadoDevOP•3y ago
SourceBin
Ticket.js
Instantly share your code with the world.
treble/luna
treble/luna•3y ago
.
MachadoDev
MachadoDevOP•3y ago
well it stays the same
treble/luna
treble/luna•3y ago
did you change it?
MachadoDev
MachadoDevOP•3y ago
yup
d.js docs
d.js docs•3y 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
MachadoDevOP•3y 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?