#How to edit ephemeral message?
24 messages · Page 1 of 1 (latest)
• 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.
<Interaction>.editReply() or <Interaction>.webhook.editMessage() if its a followUp
it doesn't work
my message is followUp and it doesn't work
No errors in the console
@subtle cloud you can use .editReply for follow ups too I believe... Idk what webhook editMessage is all about, since ephemeral message are not really messages...
that's edit the main message not the followUp message
Well select the followUp message not the main message
Now i have error: <Message>.editReply is not a function
Well i guess it's only for interactions
but i saw a bot that edit ephemeral messages
and this messages is followUp
show what you tried using webhook.editMessage
<interaction>.webhook.editMessage
After ephemeral followUp message
please show the actual code
```players[interaction.message.id][data[interaction.message.id].players[1]].followUp({ content: ${randomElement1.emoji}${randomElement2.emoji}${randomElement3.emoji}${randomElement4.emoji}${randomElement5.emoji}${randomElement6.emoji}${randomElement7.emoji}, ephemeral: true, components: [row, roww] }).then(() => {
players[interaction.message.id][data[interaction.message.id].players[1]].webhook.editMessage({ content: Please Wait.., components:[], ephemeral: true })
})
players[interaction.message.id][data[interaction.message.id].players[1]] = interaction
Webhook#editMessage()
Edits a message that was sent by this webhook.
did you take a look at the arguments for the method?
yea