DisKan/events/error.js

5 lines
187 B
JavaScript
Raw Permalink Normal View History

2022-01-24 14:05:30 -05:00
const logger = require("../modules/Logger.js");
module.exports = async (client, error) => {
logger.log(`An error event was sent by Discord.js: \n${JSON.stringify(error)}`, "error");
};