#Fetching an ephemeral Message reply from an ID

16 messages · Page 1 of 1 (latest)

full hemlock
#

Is it possible to fetch by ID and subsequently update an ephemeral message?

Node: v19.7.0

deep hazel
#

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

full hemlock
#

I tried getting it using Guild.channels.messages.fetch, but it threw { message: 'Unknown Message', code: 10008 } at me

#

If this doesn't make sense, I can provide a diagram kek

full hemlock
#

wack

vapid burrow
#

10008: UNKNOWN MESSAGE
Message id is not found. It uses the incorrect message id, or the possibility of the bot not having access to that message. This could happen in cases such as ephemeral, mentioning a message that no longer exists, or one from a guild/channel the bot is not a part of.

little lantern
full hemlock
full hemlock
vapid burrow
vapid burrow
#

🙂

full hemlock
little lantern
#

It does. Up to 15 minutes after the interaction happened (if you still have the Interaction object you can just call editReply on it)

full hemlock
#

15 minutes? Where does that come from?

#

Ah, I found it