mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 15:03:17 +00:00
Added exit event in Client.ts
This commit is contained in:
parent
90a93d35f7
commit
0b1cb03305
@ -89,6 +89,10 @@ class RadioClient extends Client {
|
||||
process.on('uncaughtException', (error) => {
|
||||
require(`${events}uncaughtException`).execute(this, error);
|
||||
});
|
||||
|
||||
process.on('exit', () => {
|
||||
this.funcs.logger("Bot", "Stopping");
|
||||
});
|
||||
|
||||
this.on("error", error => {
|
||||
console.error(error);
|
||||
|
Loading…
Reference in New Issue
Block a user