TopazBot v3.0.2
Changelog
3.0.2 - 2026-03-28
Added
- DAVE encryption support with
@snazzah/davey^0.1.10 for Discord Voice Gateway v8. - Comprehensive environment variable configuration (
USE_EXTERNAL_OPUS,INPUT_IS_OPUS,FORCE_OPUS_REENCODE,LOW_LATENCY,OPUS_BITRATE,CHANNEL_FIX_MODE,DEBUG_FFMPEG, etc.). - Enhanced
.env.examplewith all supported options and recommended presets. CLAUDE.mdfor AI assistant context.repository,engines,bugs,homepage,keywordsfields topackage.json.typecheckscript (tsc --noEmit) to npm scripts.- Environment variable table to README.md and README-JP.md configuration sections.
Changed
- Breaking: Updated
@discordjs/voicefrom ^0.18.0 to ^0.19.2 (Voice Gateway v8 support). - Updated
discord.jsfrom ^14.21.0 to ^14.25.1. - Updated
sodium-nativefrom ^5.0.6 to ^5.1.0. - Updated
typescriptfrom ^5.8.3 to ^5.9.3,@types/nodeto ^24.7.0. - Updated
eslintto ^9.37.0,jestto ^30.2.0. - Refactored FFmpeg stream handling with configurable Opus copy / re-encode / AAC fallback modes.
- Enhanced stream playback: support switching streams, prevent duplicate playback per guild.
- Changed
client.once('ready')toclient.once('clientReady')for discord.js v15 compatibility. - Improved README.md and README-JP.md: corrected script descriptions, expanded configuration docs.
- Quoted glob patterns in
lint/formatnpm scripts to prevent shell expansion.
Fixed
- Voice connection
signalling → connecting → signallinginfinite loop caused by Voice Gateway v4 deprecation. - Stream playback check to handle cases with no previous stream key.
.gitignore: untracked.vscode/, restored.circleci/and.github/tracking.
Deprecated
- N/A
Removed
- N/A
Security
- Added DAVE (Discord Audio Video Encryption) support required by Discord's updated voice protocol.
Full Changelog: v2.0.1...v3.0.2