diff --git a/slash-commands/timetoheight.js b/slash-commands/timetoheight.js index 21c00ec..ee57b69 100644 --- a/slash-commands/timetoheight.js +++ b/slash-commands/timetoheight.js @@ -6,14 +6,14 @@ module.exports = { data: new SlashCommandBuilder() .setName('timetoheight') .setDescription('Calculate how long it would take to reach a given height') - .addStringOption(o => - o.setName('beginheight') - .setDescription('Begining tree height in feet') - .setRequired(false)) .addStringOption(o => o.setName('endheight') .setDescription('Ending tree height in feet') - .setRequired(true)), + .setRequired(true)) + .addStringOption(o => + o.setName('beginheight') + .setDescription('Beginning tree height in feet') + .setRequired(false)), async execute(interaction) { await interaction.deferReply({ ephemeral: true }); const beginHeight = interaction.options.getString('beginheight');