Make error msgs reply to the interaction
This commit is contained in:
parent
67fd0343db
commit
3c41e47df1
|
@ -8,7 +8,7 @@ module.exports = {
|
||||||
await client.commands.get(interaction.commandName)?.parseInteraction(client, config, interaction);
|
await client.commands.get(interaction.commandName)?.parseInteraction(client, config, interaction);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
interaction.channel.send({
|
interaction.reply({
|
||||||
embeds: [{
|
embeds: [{
|
||||||
title: '<:AnitroxError:809651936563429416> **Something went wrong!**',
|
title: '<:AnitroxError:809651936563429416> **Something went wrong!**',
|
||||||
description: error.stack,
|
description: error.stack,
|
||||||
|
|
Reference in New Issue