Updating ephemeral
Hi, is it possible to update ephemeral in a message after it's been deferred, in v13 it was, can't find if it was removed in v14.
Here's my code:
interactionCreate.js
await interaction.deferReply();
embed.js
await interaction.editReply({
embeds: [embed],
components,
ephemeral: true
});
20 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPno it wasnt
It was never possible to change the ephemeral state of a message
aye it was
yeah nah it wasnt
If you want to defer, you have to decide when deferring that it's going to be ephemeral
explain this then ?
lol
in v13
you could defo change it
Unknown User•14mo ago
Message Not Public
Sign In & Join Server To View
I'm looking at two different things?
it's not a follow up
Unknown User•14mo ago
Message Not Public
Sign In & Join Server To View
One is /tclose, and the other appears to be something else entirely. A create?
Two different commands
Neither of those show a defer, so I can't possibly know if it was edited or not
But once a message is ephemeral it stays ephemeral
okay
so
I'm deferring in interactionCreate.js
yeah?
and i wanna make it so
i can have either ephemeral or not one
Do you just defer every single interaction?
interactionCreate.js
Well, you'd need some property to decide, like
interaction.deferReply({ ephemeral: command.ephemeral })
bruv
yeah idk why you'd automatically defer every interaction but okay
it works, buddy
well did
till i updated to v14
I'm not having an argument about the way the Discord API is demonstrably not working
We dont control this
Our versions can't change the fact that Discord's API doesn't work this way
ok djs mod