const { Events, ActivityType } = require('discord.js');
const chalk = require('chalk');

module.exports = {
	name: Events.ClientReady,
	once: true,
	execute(client) {
		console.log(chalk.green(`✅ Connectée en tant que ${client.user.tag}`));
		console.log(chalk.cyan(`📊 ${client.guilds.cache.size} serveur(s) | ${client.users.cache.size} utilisateur(s)`));
		console.log(chalk.blue(`🔧 ${client.commands.size} commande(s) chargée(s)`));

		// Statut du bot
		client.user.setPresence({
			activities: [{
				name: 'Surveille le discord Femboy Croissant 👀',
				type: ActivityType.Streaming,
				url: 'https://twitch.tv/femboycroissantoff'
			}],
			status: 'online'
		});
	},
};