style(emoji/json): update the emoji to be on a json file

This commit is contained in:
Raphael 2025-07-31 23:14:03 +02:00
parent de2380e82e
commit f1398c7d48
6 changed files with 236 additions and 49 deletions

View file

@ -68,7 +68,7 @@ for (const folder of eventFolders) {
console.log(`\t✅ | ${event.name}`);
}
} catch (err) {
console.error(`\t⚠ | event at ${file}\n\t\t(${err}).`);
console.error(`\t⚠ | Event at ${file}\n\t\t(${err}).`);
}
}
}
@ -77,6 +77,13 @@ console.log('\n\n');
client.once('ready', async () => {
console.log(`🤖 | Connecté en tant que ${client.user?.tag}`);
await prisma.bot.upsert({
where: {
id: 1
},
update: {},
create: {}
});
for (const [guildId, guild] of client.guilds.cache) {
await prisma.guild.upsert({
where: {