const { StringSelectMenuInteraction, MessageComponentInteraction, ChatInputCommandInteraction, EmbedBuilder } = require('discord.js'); const ExtendedClient = require('../../class/ExtendedClient'); module.exports = { customId: 'user-select', /** * * @param {ExtendedClient} client * @param {StringSelectMenuInteraction} interaction */ run: async (client, interaction) => { const reply = await interaction.fetchReply() const reply_embed = reply.embeds[0] await reply.edit({ content: 'message edited', embeds: [ new EmbedBuilder(reply_embed) .setDescription('embed edited') ] }) } };