mrmBot-Matrix/events/warn.js

7 lines
212 B
JavaScript
Raw Normal View History

2019-09-13 20:02:41 +00:00
const logger = require("../utils/logger.js");
// run when eris encounters a warning
module.exports = async (warn, id) => {
logger.warn(`A warn event was sent by Eris in shard ${id}: \n${warn.toString()}`);
};