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 User2y ago
Message Not Public
Sign In & Join Server To View
Idris
Idris2y ago
you cannot use editReply after 15 minutes
CC8
CC8OP2y ago
can I use follow-ups then?
Idris
Idris2y ago
don't think so
CC8
CC8OP2y 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
CC8OP2y ago
by this id ^
Idris
Idris2y ago
there you go then
CC8
CC8OP2y ago
?
Idris
Idris2y ago
you have the id property isn't that what you want?
CC8
CC8OP2y ago
i want to know if it's possible to get it like you do with bot.channels.fetch
Idris
Idris2y ago
what's your goal?
CC8
CC8OP2y ago
to get the interaction in another part of my code and edit the reply where I no longer have the interaction object
Idris
Idris2y ago
is the interaction reply ephemeral?
CC8
CC8OP2y ago
nope
Idris
Idris2y ago
then just get the message id and the channel id
CC8
CC8OP2y ago
okay thanks something scheduled but i found a way so thanks for the quick replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
CC8
CC8OP2y ago
PeepoPing just do it with a normal message not an interaction
chmod
chmod2y 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 docs2y ago
method Client#fetchWebhook() Obtains a webhook from Discord.
chmod
chmod2y ago
brilliant thanks
Want results from more Discord servers?
Add your server