This commit is contained in:
NK 2023-04-06 14:21:34 +01:00
parent d51d489a0b
commit 4ee5c2286c

View file

@ -734,9 +734,13 @@ module.exports = {
} }
) )
.setURL(client.web); .setURL(client.web);
try {
interaction.followUp({ interaction.followUp({
embeds: [embed], embeds: [embed],
}); });
} catch (e) {
interaction.editReply({ embeds: [embed] });
}
} }
}, },
}; };