This commit is contained in:
Jonny_Bro (Nikita) 2023-06-27 00:49:32 +05:00
parent 14059cab22
commit 8b304539ee

View file

@ -21,4 +21,5 @@ client.on("disconnect", () => client.logger.log("Bot is disconnecting...", "warn
.on("reconnecting", () => client.logger.log("Bot reconnecting...", "warn"))
.on("warn", warn => client.logger.log(warn, "warn"))
.on("error", e => client.logger.log(`${e.message}\n${e.stack}`, "error"));
process.on("unhandledRejection", e => console.log(e));
process.on("unhandledRejection", e => console.log(e));
process.on("uncaughtException", e => console.log(e));