Select Menu Question

I want to create a select menu ticket with modal is there any way to update the menu and show modal too?
4 Replies
d.js toolkit
d.js toolkit•16mo ago
- 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!
Ricardo
Ricardo•16mo ago
help me understand your problem more what type of modal are you talking about? select menu? button?
duck
duck•16mo ago
select menus and buttons are message components modals are their own thing if you mean that you're showing a modal in response to a component interaction and you would like to update the component's message upon the modal being submitted, <ModalSubmitInteraction>.update() exists if using typescript, you may need to typeguard with <ModalSubmitInteraction>.isFromMessage() if you're trying to show a modal and simultaneously update the component's message, you'd need to use <ComponentInteraction>.message.edit() since after using showModal the interaction doesn't have an associated message as its response to use editReply for if neither of these are what you were asking about, please elaborate
Ricardo
Ricardo•16mo ago
average neovim user
Want results from more Discord servers?
Add your server