#Ephemeral is not working
32 messages · Page 1 of 1 (latest)
The defer needs to have the ephemeral: true
sadly not working-
you mean under the fetchReply: true,?
in this picture
I mean, together
"together"?
Note that if you want your response to be ephemeral, you must pass an ephemeral flag to the InteractionDeferOptions here:
await interaction.deferReply({ ephemeral: true });
It is not possible to edit a reply to be ephemeral later.
i did that, its not working-
Have you saved the file and restarted the bot?
yes
Can you send you code again please?
More like:
// defer logic
const newMessage = `...${Date.now() - interaction.createdTimestamp}...`
// Reply logic
Interactions: Replying to slash commands - Ephemeral responses