DisKan/events/error.js
2022-01-24 19:05:30 +00:00

5 lines
187 B
JavaScript

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");
};