Specify that interactions aren't ephermal by default
This commit is contained in:
parent
54993de287
commit
15739f7917
|
@ -7,7 +7,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,
|
||||||
|
@ -16,7 +16,8 @@ module.exports = {
|
||||||
icon_url: interaction.user.displayAvatarURL(),
|
icon_url: interaction.user.displayAvatarURL(),
|
||||||
text: config.footerTxt
|
text: config.footerTxt
|
||||||
}
|
}
|
||||||
}]
|
}],
|
||||||
|
ephemeral: false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue