InteractionResponse.id does not match message id

Hi, I'm trying to make a command where it will reply to the original response after a certain period of time(not defer). I am doing this by storing the ID from await interaction.reply and then fetching the message later, but the ID doesn't seem to match. Is there a way I can get the correct message ID that has been sent? https://media.discordapp.net/attachments/1039869377866104852/1044983575252058223/image.png
3 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Squid
Squid3y ago
You have to include fetchReply: true in your options object when replying for it to return a Message; otherwise, it returns an InteractionResponse which is the id that you got from your code
skybird23333
skybird23333OP3y ago
i see, thank you

Did you find this page helpful?