forked from Supositware/Haha-Yes
followUp instead of reply as the command may already have replied when it errors out
This commit is contained in:
parent
c782c2bbd7
commit
d1217f05d0
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ export default {
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
await interaction.reply({ content: 'There was an error while executing this command!', ephemeral: true });
|
await interaction.followUp({ content: 'There was an error while executing this command!', ephemeral: true });
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue