cardboardbox/events/error.js

4 lines
146 B
JavaScript
Raw Normal View History

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