Removed error/warn events (handled by eris-sharder)

This commit is contained in:
TheEssem 2021-04-19 10:12:32 -05:00
parent c67499af9d
commit f21cb21d9c
2 changed files with 0 additions and 12 deletions

View file

@ -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}`);
};

View file

@ -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()}`);
};