followUp instead of reply as the command may already have replied when it errors out

slash
Supositware 2 years ago
parent c782c2bbd7
commit d1217f05d0

@ -61,7 +61,7 @@ export default {
} }
catch (error) { catch (error) {
console.error(error); console.error(error);
await interaction.reply({ content: 'There was an error while executing this command!', ephemeral: true }); await interaction.followUp({ content: 'There was an error while executing this command!', ephemeral: true });
} }
}, },
}; };

Loading…
Cancel
Save