style(error/command): Changing the message error

The name will not have the command name at the start
(already seen in the catch message)
This commit is contained in:
Raphael 2025-08-16 22:10:15 +02:00
parent 1241332561
commit 08dae4f787
6 changed files with 13 additions and 17 deletions

View file

@ -67,11 +67,7 @@ export default {
});
}
} catch (err) {
console.error(`\t⚠ | INFO => Cannot get the database connection!\n\t\t(${err}).`);
await interaction.reply({
content: `${emoji.answer.error} | Cannot connect to the database`,
flags: MessageFlags.Ephemeral
});
console.error(`\t⚠ | Cannot get the database connection!\n\t\t(${err}).`);
return;
}
console.log(`✅ | ${client.user.username} is now running under TTS bot`);