From 606ed7d8143be4ef5fac357f3b7d99f4480d6c5c Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Mon, 28 Nov 2022 17:33:20 +1100 Subject: [PATCH] :any squirrel's food --- src/events/interactionCreate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/interactionCreate.ts b/src/events/interactionCreate.ts index 5a25b75..f94a97d 100644 --- a/src/events/interactionCreate.ts +++ b/src/events/interactionCreate.ts @@ -13,7 +13,7 @@ export default { try{ commandFile.default.run(client, interaction); commandFile.uses ? commandFile.uses++ : commandFile.uses = 1; - } catch (error:any){ + } catch (error){ console.log(`An error occured while running command "${commandFile.name}"`, error, error.stack); return interaction.reply('An error occured while executing that command.'); }