fix(tts): follow user across voice channels without dropping session; remove Chzzk cookies

- VoiceSession.moveTo: destroy(false) + join instead of disconnect()/destroy().
  The old path sent a leave payload first, so Discord emitted
  voiceStateUpdate(channel=null) and endSession() killed the session
  while moving.
- voiceStateUpdate: when the bot itself is moved, only sync the channel.
- getVoiceChannel: user's channel first, then the session's channel,
  then the bot's cached voice channel.
- Remove CHZZK_NID_AUT/SES and token fetch; Chzzk TTS works without them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Claude Owner
2026-11-11 08:35:26 +09:00
parent 2d8b929b90
commit 26b4525316
7 changed files with 37 additions and 64 deletions

View File

@@ -14,10 +14,6 @@ DBPATH=./db/tts.db
# `npm run prod` 실행 시 DEV=true 면 이 길드의 기존 슬래시 명령을 먼저 wipe 한 뒤 전역 등록
GUILDID=
# 치지직(Chzzk) 인증 쿠키
CHZZK_NID_AUT=
CHZZK_NID_SES=
# 시그니처 서버 host:port (선택, 미설정 시 192.168.10.5:2967)
SIGNATURE_HOST=