Update Client.ts

This commit is contained in:
Christer Warén 2021-09-10 01:54:43 +03:00
parent 3978f19b2e
commit 1d6361871c

View File

@ -107,7 +107,11 @@ class RadioClient extends Client {
require(`${events}warning`).execute(this, warning); require(`${events}warning`).execute(this, warning);
}); });
this.login(this.config.token).catch(err => console.log("Failed to login: " + err)); this.login(this.config.token).catch((err) => {
this.funcs.logger("Discord Client / Error");
console.log(err);
console.log('');
});
} }
} }