This commit is contained in:
Lukian LEIZOUR 2024-06-26 17:45:29 +02:00
parent 060936d882
commit 12d842e3df

View file

@ -52,7 +52,7 @@ export default {
.addComponents(cancel, confirm);
// @ts-ignore: Unreachable code error
const reply = await interaction.reply({embeds: [confirm_embed], content: role ? `<@&${role.id}>` : '', components: [row], ephemeral: true});
const reply = await interaction.reply({embeds: [confirm_embed], components: [row], ephemeral: true});
const confirmation = await reply.awaitMessageComponent({ time: 60_000 });