From e469f8d8a0b6471191c95927c04fbf49f6073d2b Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sun, 12 May 2024 01:54:42 -0600 Subject: [PATCH] - Disable NTFy errors for now --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index cb75f26..d3b859e 100644 --- a/index.js +++ b/index.js @@ -1136,7 +1136,7 @@ discord.on("guildDelete", (guild) => { process.on("unhandledRejection", (error) => { console.log(`${colors.red("[ERROR]")} Unhandled Rejection: ${error.message}`); - if (config.ntfy.enabled) { + if (false) { fetch(config.ntfy.server, { method: 'POST', body: JSON.stringify({ @@ -1156,7 +1156,7 @@ process.on("unhandledRejection", (error) => { process.on("uncaughtException", (error) => { console.log(`${colors.red("[ERROR]")} Uncaught Exception: ${error.message}\n${error.stack}`); - if (config.ntfy.enabled) { + if (false) { fetch(config.ntfy.server, { method: 'POST', body: JSON.stringify({