Switch to ephemeral reply
This commit is contained in:
parent
08f721aa70
commit
c71154f1c9
@ -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 => {
|
||||||
|
Loading…
Reference in New Issue
Block a user