From c71154f1c94e56fc12a34a6288a42b3d3137faeb Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Sat, 28 Jan 2023 17:42:28 -0500 Subject: [PATCH] Switch to ephemeral reply --- slash-commands/timetoheight.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slash-commands/timetoheight.js b/slash-commands/timetoheight.js index 3d0cc2b..f065c86 100644 --- a/slash-commands/timetoheight.js +++ b/slash-commands/timetoheight.js @@ -15,7 +15,7 @@ module.exports = { .setDescription('Ending tree height in feet, numbers ONLY') .setRequired(true)), async execute(interaction) { - await interaction.deferReply(); + await interaction.deferReply({ ephemeral: true }); const beginHeight = interaction.options.getString('beginheight'); const endHeight = interaction.options.getString('endheight'); fn.timeToHeight(beginHeight, endHeight).then(res => {