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