shadow reply an interaction

How can I tell discord that the interaction was responded to without actually using the response functions? I have a command that I have to send the message in the person's DM, but later I send it, that message appears that the BOT did not respond... How can I avoid this?
5 Replies
d.js toolkit
d.js toolkit14mo 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.
monbrey
monbrey14mo ago
You cant You need to respond, send an ephemeral saying "DM sent" or something
José
José14mo ago
I have another commands with the same problem one of them is a StringSelectMenu type, after receiving the interaction I want to edit the message, but <Interaction>.editReply() does not work, so I use <Interaction>.message.edit, but this message that the BOT did not respond appears
monbrey
monbrey14mo ago
You probably want interaction.update() for that one That responds to an interaction from a component (button/select) by editing the message it was in
José
José14mo ago
yeah, this work thanks