feat: implement web-driven voice connection with guild/channel selection and API integration

This commit is contained in:
MythEclipse
2026-05-13 18:23:20 +07:00
parent a5a794c590
commit 4dadcf3871
9 changed files with 937 additions and 72 deletions
+2 -4
View File
@@ -13,8 +13,6 @@ describe("loadConfig", () => {
process.env = {
...originalEnv,
DISCORD_TOKEN: "token",
VOICE_CHANNEL_ID: "voice-channel",
GUILD_ID: "guild",
VERBOSE: "true",
WEBSERVER_PORT: "4000",
NODE_ENV: "test",
@@ -24,8 +22,8 @@ describe("loadConfig", () => {
const config = loadConfig(process.env);
expect(config.DISCORD_TOKEN).toBe("token");
expect(config.VOICE_CHANNEL_ID).toBe("voice-channel");
expect(config.GUILD_ID).toBe("guild");
expect(config.GUILD_ID).toBeUndefined();
expect(config.VOICE_CHANNEL_ID).toBeUndefined();
expect(config.VERBOSE).toBe(true);
expect(config.WEBSERVER_PORT).toBe(4000);
expect(config.RECORDINGS_DIR).toBe("./recordings");