commit 4ee5c2286cf54b2630b514c5f0f01d936cb71c89 parent d51d489a0b0ef3f86365cb9e717e496320075c7a Author: NK <[email protected]> Date: Thu, 6 Apr 2023 14:21:34 +0100 fix Diffstat:
M | command/CODM/build.js | | | 10 | +++++++--- |
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/command/CODM/build.js b/command/CODM/build.js @@ -734,9 +734,13 @@ module.exports = { } ) .setURL(client.web); - interaction.followUp({ - embeds: [embed], - }); + try { + interaction.followUp({ + embeds: [embed], + }); + } catch (e) { + interaction.editReply({ embeds: [embed] }); + } } }, };