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);
interaction.followUp({
embeds: [embed],
});
try {
interaction.followUp({
embeds: [embed],
});
} catch (e) {
interaction.editReply({ embeds: [embed] });
}
}
},
};