mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2025-06-17 01:56:00 +00:00
Added exit event in Client.ts
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user