cardboardbox/events/error.js
2019-11-26 16:22:24 -05:00

3 lines
146 B
JavaScript

module.exports = async (client, error) => {
client.logger.log(`An error event was sent by Discord.js: \n${JSON.stringify(error)}`, "error");
};