diff --git a/src/index.ts b/src/index.ts index 93e9653..949a3f6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -71,12 +71,12 @@ client.on(Events.InteractionCreate, async (interaction) => { await interaction.followUp({ content: 'There was an error while executing this command!', ephemeral: true - }) + }).catch(e => {}) } else { await interaction.reply({ content: 'There was an error while executing this command!', ephemeral: true - }) + }).catch(e => {}) } } })