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: