From 3c41e47df1888e08685e2bef3a0b37be33097cf6 Mon Sep 17 00:00:00 2001 From: Sophie Marie Date: Mon, 14 Nov 2022 16:08:31 -0600 Subject: [PATCH] Make error msgs reply to the interaction --- events/interactionCreate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/interactionCreate.js b/events/interactionCreate.js index 81241f4..fc3670f 100644 --- a/events/interactionCreate.js +++ b/events/interactionCreate.js @@ -8,7 +8,7 @@ module.exports = { await client.commands.get(interaction.commandName)?.parseInteraction(client, config, interaction); } catch (error) { console.error(error); - interaction.channel.send({ + interaction.reply({ embeds: [{ title: '<:AnitroxError:809651936563429416> **Something went wrong!**', description: error.stack,