Edit an interaction reply after StringSelectMenu choice

I'm using discord.js@14.10.2. When a button is pressed, I reply to that interaction with a message that contains a String Select Menu. Once a choice is selected from the String Select Menu, I'd like to then update that original message to remove the String Select Menu. I know I'd use components: [], but I'm having trouble editing the reply after selection because once a selection is made, then you have a new interaction, so therefore interaction.editReply doesn't work, because it's trying to edit the reply of the new interaction. Is there a good way to grab the previous interaction and then run the editReply function on it?
1 Reply
d.js toolkit
d.js toolkit11mo 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. - Issue solved? Press the button!