From 2e14dbee4e4832e4b3f0e7a9df74881813d537d7 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Thu, 9 Jun 2022 19:15:24 -0400 Subject: [PATCH] Attempting ephemeral responses for savegif and help --- functions.js | 2 +- slash-commands/savegif.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.js b/functions.js index 09f0606..bbf4637 100644 --- a/functions.js +++ b/functions.js @@ -217,7 +217,7 @@ const functions = { return { embeds: [ helpEmbed - ]}; + ], ephemeral: true}; }, gif(commandData) { return { embeds: [new Discord.MessageEmbed() diff --git a/slash-commands/savegif.js b/slash-commands/savegif.js index 1413b7c..aa2708c 100644 --- a/slash-commands/savegif.js +++ b/slash-commands/savegif.js @@ -50,7 +50,7 @@ module.exports = { embed_url: row.media[0].gif.url, }); } - interaction.reply({ content: strings.temp.gifs[0].embed_url, components: [actionRow] }); + interaction.reply({ content: strings.temp.gifs[0].embed_url, components: [actionRow], ephemeral: true }); }); }, }; \ No newline at end of file