5 lines
187 B
JavaScript
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");
|
||
|
};
|