Switch to ephemeral reply

This commit is contained in:
Skylar Grant 2023-01-28 17:42:28 -05:00
parent 08f721aa70
commit c71154f1c9
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ module.exports = {
.setDescription('Ending tree height in feet, numbers ONLY') .setDescription('Ending tree height in feet, numbers ONLY')
.setRequired(true)), .setRequired(true)),
async execute(interaction) { async execute(interaction) {
await interaction.deferReply(); await interaction.deferReply({ ephemeral: true });
const beginHeight = interaction.options.getString('beginheight'); const beginHeight = interaction.options.getString('beginheight');
const endHeight = interaction.options.getString('endheight'); const endHeight = interaction.options.getString('endheight');
fn.timeToHeight(beginHeight, endHeight).then(res => { fn.timeToHeight(beginHeight, endHeight).then(res => {