Image still shows

Hi, I have the following code as an update to a previous interaction, as you can see, I have set the files: [] to an empty array so that any files from previous interaction will not show.
return interaction.update({embeds: [embed],components: [actions], files:[], ephemeral: true});
return interaction.update({embeds: [embed],components: [actions], files:[], ephemeral: true});
This was working fine yesterday but today I noticed that this no longer works. Expected: green box should only appear. I've searched the internet and can't find information on this. Has something changed in the interactions?
10 Replies
d.js toolkit
d.js toolkit17mo 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.
Kamael愛
Kamael愛OP17mo ago
[email protected] node v18.16.0
return interaction.update({embeds: [embed],components: [actions], files:[], ephemeral: true});
return interaction.update({embeds: [embed],components: [actions], files:[], ephemeral: true});
Ashu
Ashu17mo ago
I am havving the same issue It only happens on ModalInteraction#Update. Try with that
Ashu
Ashu17mo ago
Ashu
Ashu17mo ago
Yes Yeah, I think so I will try to make a sample and send you. Tho it very straight forward I am not sure why is it happening for some people only.
Kamael愛
Kamael愛OP17mo ago
Hi, sorry for the late reply. I tested it just now and can still replicate. Let me know what you need.
BradyDaLlama .*˖
I'm having the same issue it seems- did anyone find a solution? like identical to the letter, I was using files: [] to clear out the attachments but all of a sudden the attachment stays. it was working yesterday and I didn't change anything
DaveY
DaveY17mo ago
I like the UI. How are you letting the player select an item and clicking Buy?
charlee
charlee17mo ago
I can confirm this is also happening to me. I see I will do that
Kamael愛
Kamael愛OP17mo ago
I raised this issue to discord developers. This has been fixed.
Want results from more Discord servers?
Add your server