mirror of
https://github.com/ZHANGTIANYAO1/teamspeak-music-bot.git
synced 2026-10-02 04:52:50 +08:00
test: add integration test suite — 74 tests passing against local TS3 server
Fix @discordjs/opus ESM import for Node 24 compatibility. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
5041a4f3f7
commit
df7b944742
2 files changed
+501
-1
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import { OpusEncoder } from "@discordjs/opus";
|
||||
import opusModule from "@discordjs/opus";
|
||||
const { OpusEncoder } = opusModule;
|
||||
|
||||
const SAMPLE_RATE = 48000;
|
||||
const CHANNELS = 2;
|
||||
|
||||
Reference in new issue
Block a user