From 70506ae20b4cd65ec16047bb1d6982220d333b08 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Sat, 11 Jun 2022 17:35:08 -0400 Subject: [PATCH] Move to ephemeral --- functions.js | 2 +- slash-commands/pastas.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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