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);