module.exports = {
data: new SlashCommandBuilder()
.setName('joke')
.setDescription('Tells a Joke!'),
async execute(interaction: CommandInteraction) {
await interaction.deferReply({ ephemeral: false }) // this line already throws the error
// here is just some code to response
}
};
module.exports = {
data: new SlashCommandBuilder()
.setName('joke')
.setDescription('Tells a Joke!'),
async execute(interaction: CommandInteraction) {
await interaction.deferReply({ ephemeral: false }) // this line already throws the error
// here is just some code to response
}
};