feat(discord): migrate voice join from selfbot to official bot (bot.mjs)
Replace the user-token selfbot voice path with an official Discord bot using discord.js 14 + @discordjs/voice 0.19. The bot logs in with the stored testbot token, joins the target voice channel, passes the DAVE/MLS E2EE handshake, and receives per-user Opus audio via VoiceReceiver (the STT input path). ToS-safe. Live-verified: bot joined guild "사지방" / channel "일반" and reached Ready. Selfbot (gate.mjs/join.mjs) kept only for the deferred screenshare-video track, which official bots cannot receive. Docs updated (README/PLAN); M1 done on bot path. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
8
PLAN.md
8
PLAN.md
@@ -8,6 +8,14 @@
|
||||
- 파이프라인은 이제 눈 없이(source/vision = None) 돌아간다: `python -m wsai --voice`.
|
||||
- 화면공유 관문 1(DAVE) 성과는 아래에 보존. 나중에 눈을 다시 붙일 때 재사용한다.
|
||||
|
||||
## 공식 봇 전환 (2026-08-16)
|
||||
|
||||
- 보이스 접속(=STT 입력 경로)을 **셀프봇(유저 토큰) → 공식 Discord 봇**으로 마이그레이션 완료.
|
||||
`dave/bot.mjs`(discord.js 14 + @discordjs/voice 0.19)가 봇 토큰으로 대상 채널 join →
|
||||
DAVE/MLS E2EE Ready → 유저별 Opus 수신까지 라이브 검증됨. ToS-safe.
|
||||
- 셀프봇은 공식 봇이 막는 **화면공유 비디오 수신 트랙**용으로만 남기고, 그건 보류 상태다.
|
||||
아래 1단계(눈) 셀프봇 서술은 그 보류된 비디오 트랙 기준이다.
|
||||
|
||||
## 확정된 결정 (2026-08-09)
|
||||
|
||||
1. **캡처 방식 (눈)** — 사용자 요구: 스크린샷/브라우저 캡처 ❌,
|
||||
|
||||
Reference in New Issue
Block a user