diff --git a/src/Client.ts b/src/Client.ts index 761e7cd..8cc6647 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -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);