const { Events, ActivityType } = require("discord.js"); module.exports = { name: Events.ClientReady, async execute(client) { console.log(`le bot ${client.user.tag} est en ligne`) process.on('uncaughtException', (error) => { console.error('Uncaught Exception:', error); }); process.on('unhandledRejection', (reason, promise) => { console.error('Unhandled Rejection at:', promise, 'reason:', reason); }); } };