mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-10 05:00:18 +00:00
Update Client.ts
This commit is contained in:
parent
3978f19b2e
commit
1d6361871c
@ -107,7 +107,11 @@ class RadioClient extends Client {
|
||||
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('');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user