Removed error/warn events (handled by eris-sharder)
This commit is contained in:
parent
c67499af9d
commit
f21cb21d9c
2 changed files with 0 additions and 12 deletions
|
@ -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}`);
|
|
||||||
};
|
|
|
@ -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()}`);
|
|
||||||
};
|
|
Loading…
Reference in a new issue