woomy-v2/bot/events/error.js
2020-08-18 14:58:36 +10:00

9 lines
216 B
JavaScript

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