From f93fa41de112a381cdaf03650225ba50f01b41ee Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Thu, 9 Feb 2023 23:00:59 -0500 Subject: [PATCH] fix const --- 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 ee57b69..de0c3d7 100644 --- a/slash-commands/timetoheight.js +++ b/slash-commands/timetoheight.js @@ -16,7 +16,7 @@ module.exports = { .setRequired(false)), async execute(interaction) { await interaction.deferReply({ ephemeral: true }); - const beginHeight = interaction.options.getString('beginheight'); + let beginHeight = interaction.options.getString('beginheight'); const endHeight = interaction.options.getString('endheight'); if (!beginHeight) { const getGuildInfoResponse = await dbfn.getGuildInfo(interaction.guildId);