diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/utils/BushLogger.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/utils/BushLogger.ts b/src/lib/utils/BushLogger.ts index 4d0e7b9..02803d5 100644 --- a/src/lib/utils/BushLogger.ts +++ b/src/lib/utils/BushLogger.ts @@ -13,6 +13,8 @@ const REPL = repl.start({ breakEvalOnSigint: true }); +REPL.on('exit', () => process.exit(0)); + /** * Custom logging utility for the bot. */ |