Get Original message or interaction by id
Hello I want to get the originalMeesage or interaction by id, What can i do it?
npm list discord.js and node node -v version?✅ Marked as resolved by OP// Retrieve the welcome embed.
const WelcomeEmbed = await welcomeEmbed();
// Retrieve the service embed using user and Game information.
const ServiceEmbed = await rkServiceEmbed(user, Game);
// Retrieve the service menu selection using the game's ID.
const ServiceMenuSelect = await rkServiceMenuSelect(Game.id);
// Get the original interaction from the order.
const originalInteraction = order.interaction_id;
// Edit the original interaction to update its embeds and components.
await originalInteraction.edit({
embeds: [WelcomeEmbed, ServiceEmbed],
components: [ServiceMenuSelect],
});const originalInteraction = await channel.messages.fetch(order.interaction_id);