From 977f6e2a2167b524ef135e29a71564013fc181c0 Mon Sep 17 00:00:00 2001 From: Sophie Marie Date: Wed, 4 Jan 2023 20:45:50 -0600 Subject: [PATCH] Fix missing async --- events/interactionCreate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/events/interactionCreate.js b/events/interactionCreate.js index 2cb7114..4eabb78 100644 --- a/events/interactionCreate.js +++ b/events/interactionCreate.js @@ -2,6 +2,7 @@ module.exports = { event: require('path').parse(__filename).name, once: false, listener: (client, config) => + async (interaction) => { try { await client.commands.get(interaction.commandName)?.parseInteraction(client, config, interaction); } catch (error) { @@ -19,5 +20,4 @@ module.exports = { }); } } -} -; +};