woomy-v2/bot/events/error.js

10 lines
216 B
JavaScript
Raw Normal View History

2020-08-18 04:58:36 +00:00
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");
}
};