#interaction message

10 messages · Page 1 of 1 (latest)

midnight groveBOT
#

• 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.

somber rose
past dock
#

You should always use the interaction to interact with its replies.

await interaction.deferUpdate();
await interaction.deleteReply();
somber rose
#

okay but it still throws an exception

#

using interaction.message.delete();

past dock
#

interaction.message is just a message from your bot, not from interaction.

somber rose
#

Okay, how I delete a message when I press red button?

somber rose
#

ohh im blind