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:
@@ -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=
|
||||
|
||||
|
||||
Reference in New Issue
Block a user