#Select Menu Question
9 messages · Page 1 of 1 (latest)
- What's your exact discord.js
npm list discord.jsand nodenode -vversion? - Not a discord.js issue? Check out #1081585952654360687.
- 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!
help me understand your problem more
what type of modal are you talking about?
select menu? button?
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