feat: implement graceful shutdown process for bot

- Added graceful shutdown functionality to handle SIGINT, SIGTERM, uncaught exceptions, and unhandled promise rejections.
- Integrated stopRecording and pause functionality during shutdown.
- Enhanced logging for shutdown steps and error handling.
- Updated package.json to include pino-pretty for improved logging output.
This commit is contained in:
MythEclipse
2026-05-13 16:32:14 +07:00
parent 3ae28157a3
commit 673a06376c
4 changed files with 69 additions and 1545 deletions
BIN
View File
Binary file not shown.