Files
dc-recorder/package.json
T
MythEclipse 673a06376c 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.
2026-05-13 16:32:14 +07:00

39 lines
1.0 KiB
JSON

{
"name": "discord-voice-recorder",
"version": "1.0.0",
"description": "Discord bot that joins a voice channel and records audio",
"main": "src/index.ts",
"scripts": {
"dev": "bun --watch src/index.ts",
"start": "bun src/index.ts",
"build": "tsc --outDir dist",
"typecheck": "tsc --noEmit",
"lint": "biome check --diagnostic-level=error .",
"format": "biome format --write .",
"test": "vitest run"
},
"dependencies": {
"@discordjs/opus": "^0.10.0",
"@discordjs/voice": "^0.19.1",
"@snazzah/davey": "^0.1.10",
"discord.js-selfbot-v13": "^3.7.1",
"express": "^5.2.1",
"fluent-ffmpeg": "^2.1.3",
"libsodium-wrappers": "^0.8.2",
"prism-media": "2.0.0-alpha.0",
"sodium-native": "^4.3.2",
"ws": "^8.20.1",
"pino": "^9.4.0",
"p-retry": "^6.2.0"
},
"devDependencies": {
"@biomejs/biome": "latest",
"@types/bun": "latest",
"@types/express": "^5.0.6",
"@types/fluent-ffmpeg": "^2.1.28",
"@types/ws": "^8.18.1",
"pino-pretty": "^10.3.1",
"vitest": "latest"
}
}