is there any way to fetch an interaction by it's id?

is there any way to fetch an interaction by it's id? cause i want to fetch it and do editReply() on it at a later date
21 Replies
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Idris
Idris16mo ago
you cannot use editReply after 15 minutes
CC8
CC816mo ago
can I use follow-ups then?
Idris
Idris16mo ago
don't think so
CC8
CC816mo ago
but going back to my q. is it possible to get the interaction by it's id? id make sure to edit the reply before 15 minutes pass
CC8
CC816mo ago
by this id ^
Idris
Idris16mo ago
there you go then
CC8
CC816mo ago
?
Idris
Idris16mo ago
you have the id property isn't that what you want?
CC8
CC816mo ago
i want to know if it's possible to get it like you do with bot.channels.fetch
Idris
Idris16mo ago
what's your goal?
CC8
CC816mo ago
to get the interaction in another part of my code and edit the reply where I no longer have the interaction object
Idris
Idris16mo ago
is the interaction reply ephemeral?
CC8
CC816mo ago
nope
Idris
Idris16mo ago
then just get the message id and the channel id
CC8
CC816mo ago
okay thanks something scheduled but i found a way so thanks for the quick replies
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
CC8
CC816mo ago
PeepoPing just do it with a normal message not an interaction
chmod
chmod15mo ago
in same situation— have you found a way for ephemeral messages? (not a normal message) I've searched through some types and classes but couldn't find one that takes an applicationId and an interaction token, and exposes editReply or followUp methods
d.js docs
d.js docs15mo ago
method Client#fetchWebhook() Obtains a webhook from Discord.
chmod
chmod15mo ago
brilliant thanks