Make error msgs reply to the interaction

This commit is contained in:
Sophie Marie 2022-11-14 16:08:31 -06:00
parent 67fd0343db
commit 3c41e47df1
1 changed files with 1 additions and 1 deletions

View File

@ -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,