This commit is contained in:
parent
f8a3275d48
commit
764d123805
@ -11,7 +11,8 @@ module.exports = {
|
|||||||
await command.execute(interaction, client);
|
await command.execute(interaction, client);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
await interaction.reply({ content: '❌ Ocorreu um erro ao executar o comando.', ephemeral: true });
|
await interaction.reply({ content: '❌ Ocorreu um erro ao executar o comando.', flags: MessageFlags.Ephemeral });
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user