Discord · api · fg-0446

Discord followup sent as ephemeral is visible to everyone after a deferred reply

If you see Reply meant only for the user shows up publicly in the channel, the cause and the fix for Discord are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
Reply meant only for the user shows up publicly in the channelflags: 64 on the followup has no effectEphemeral works without deferring and breaks once deferReply is added
Cause
When a response is deferred, the deferral decides whether the final message is ephemeral. A followup that fills in the loading message ignores the ephemeral flag.
Fix
Set the ephemeral flag on the deferral itself.
Apply
await interaction.deferReply({ flags: MessageFlags.Ephemeral }); await interaction.editReply("Only you can see this");
Affected
Discord interactions, DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE responses, as of 2026-10
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun