oops
This commit is contained in:
parent
ac23f36f59
commit
8339d34dad
@ -6,14 +6,14 @@ module.exports = {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('timetoheight')
|
.setName('timetoheight')
|
||||||
.setDescription('Calculate how long it would take to reach a given height')
|
.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 =>
|
.addStringOption(o =>
|
||||||
o.setName('endheight')
|
o.setName('endheight')
|
||||||
.setDescription('Ending tree height in feet')
|
.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) {
|
async execute(interaction) {
|
||||||
await interaction.deferReply({ ephemeral: true });
|
await interaction.deferReply({ ephemeral: true });
|
||||||
const beginHeight = interaction.options.getString('beginheight');
|
const beginHeight = interaction.options.getString('beginheight');
|
||||||
|
Loading…
Reference in New Issue
Block a user