Help with select menus
hey all, im trying to get a select menu collector working but i cant seem to figure it out...
i have two rows, each with one multi select menu in it
I am making my collector via
which works as expected. I collect when there are changes by:
the problem is back in discord, the select goes back to what it was before I interacted with it anytime i change it.
the code works, the db updates properly my adding and removing the values from an array, but discord does not change correctly
any idea why this doesnt work as expected?
2 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 OPalso it works as expected if i do
await i.reply({ content: "test" })
but I dont want to tell the user something changed, i just want it to work without sending a new message every time they change something
solved my own problem...
my components are defined earlier,
i just update with updated component