oops
This commit is contained in:
parent
ac23f36f59
commit
8339d34dad
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user