From 6e9a087f9dd65bd60a18e4c7511e7247d7710544 Mon Sep 17 00:00:00 2001 From: Legonzaur Date: Fri, 16 Jun 2023 22:16:53 +0200 Subject: [PATCH] crash hotfix --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 => {}) } } })