diff --git a/functions.js b/functions.js index c65239f..0a9fb50 100644 --- a/functions.js +++ b/functions.js @@ -257,7 +257,7 @@ const functions = { const pastasString = pastasArray.join('\n'); pastasEmbed.setDescription(pastasString); - return { embeds: [pastasEmbed] }; + return { embeds: [pastasEmbed], ephemeral: true }; }, gifs(commandData) { const gifsArray = []; diff --git a/slash-commands/pastas.js b/slash-commands/pastas.js index 3a89738..baeb52d 100644 --- a/slash-commands/pastas.js +++ b/slash-commands/pastas.js @@ -28,6 +28,6 @@ module.exports = { name: row.name, }); } - interaction.reply({ content: fn.embeds.pastas(commandData), ephemeral: true }); + interaction.reply(fn.embeds.pastas(commandData)); }, }; \ No newline at end of file