From 4a0a5f046a6c085a0c9a43b8d567f4c18888039f Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Mon, 23 Jan 2023 01:52:41 -0500 Subject: [PATCH] defer --- slash-commands/watertime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slash-commands/watertime.js b/slash-commands/watertime.js index f572d40..3f324f6 100644 --- a/slash-commands/watertime.js +++ b/slash-commands/watertime.js @@ -14,6 +14,6 @@ module.exports = { interaction.deferReply(); const treeHeight = interaction.options.getString('height'); const waterTime = Math.floor(Math.floor(Math.pow(treeHeight * 0.07 + 5, 1.1)) / 60); - interaction.reply(`A tree that is ${treeHeight}ft tall will have a watering time of ${waterTime} minutes.`); + interaction.editReply(`A tree that is ${treeHeight}ft tall will have a watering time of ${waterTime} minutes.`); }, }; \ No newline at end of file