From f21cb21d9ce503f8fb332d45a902afba4312134f Mon Sep 17 00:00:00 2001 From: TheEssem Date: Mon, 19 Apr 2021 10:12:32 -0500 Subject: [PATCH] Removed error/warn events (handled by eris-sharder) --- events/error.js | 6 ------ events/warn.js | 6 ------ 2 files changed, 12 deletions(-) delete mode 100644 events/error.js delete mode 100644 events/warn.js diff --git a/events/error.js b/events/error.js deleted file mode 100644 index 29ef08a..0000000 --- a/events/error.js +++ /dev/null @@ -1,6 +0,0 @@ -const logger = require("../utils/logger.js"); - -// run when eris encounters an error -module.exports = async (client, error, id) => { - logger.error(`An error event was sent by Eris in shard ${id}: \n${error.message}`); -}; diff --git a/events/warn.js b/events/warn.js deleted file mode 100644 index 0f0fa8f..0000000 --- a/events/warn.js +++ /dev/null @@ -1,6 +0,0 @@ -const logger = require("../utils/logger.js"); - -// run when eris encounters a warning -module.exports = async (client, warn, id) => { - logger.warn(`A warn event was sent by Eris in shard ${id}: \n${warn.toString()}`); -};