From 8936deae4c5616a15020b62bdfec905135ef579f Mon Sep 17 00:00:00 2001 From: *x1 Date: Sun, 2 Jun 2024 22:18:49 +0200 Subject: [PATCH] Update --- commands/gestion/drop.js | 2 +- events/ready.js | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/commands/gestion/drop.js b/commands/gestion/drop.js index 64b3b0a..b03f047 100644 --- a/commands/gestion/drop.js +++ b/commands/gestion/drop.js @@ -4,7 +4,7 @@ const db = require('../../fonctions/database.js'); module.exports = { aliases: ['give'], description: 'Donne des coins au premier qui appuie sur un bouton.', - emote: '⏱️', + emote: '🪙', utilisation: '', permission: 0, diff --git a/events/ready.js b/events/ready.js index f32ab95..d620ed4 100644 --- a/events/ready.js +++ b/events/ready.js @@ -51,12 +51,14 @@ module.exports = { //AntiCrash process.on('unhandledRejection', (error) => { if (error.code == "10064") return + if (error.code == "10008") return console.log(' [antiCrash] :: Unhandled Rejection/Catch'.red); console.log(error); }); process.on("uncaughtException", (error, origin) => { if (error.code == "10064") return + if (error.code == "10008") return console.log(' [antiCrash] :: Uncaught Exception/Catch'.red); console.log(error); console.log('Information supplémentaire:', origin); @@ -64,6 +66,7 @@ module.exports = { process.on('uncaughtExceptionMonitor', (error, origin) => { if (error.code == "10064") return + if (error.code == "10008") return console.log(' [antiCrash] :: Uncaught Exception Monitor/Catch'.red); console.log(error); console.log('Information supplémentaire:', origin); @@ -71,12 +74,14 @@ module.exports = { process.on('beforeExit', (code) => { if (error.code == "10064") return + if (error.code == "10008") return console.log(' [antiCrash] :: Before Exit'.red); console.log('Code de sortie:', code); }); process.on('exit', (code) => { if (error.code == "10064") return + if (error.code == "10008") return console.log(' [antiCrash] :: Exit'.red); console.log('Code de sortie:', code); });