9 lines
216 B
JavaScript
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");
|
|
}
|
|
};
|