Specify that interactions aren't ephermal by default

This commit is contained in:
Sophie Marie 2023-01-05 15:02:31 -06:00
parent 54993de287
commit 15739f7917
No known key found for this signature in database
GPG Key ID: 0C9FB786E7770775
1 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,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,
@ -16,7 +16,8 @@ module.exports = {
icon_url: interaction.user.displayAvatarURL(),
text: config.footerTxt
}
}]
}],
ephemeral: false
});
}
}