3 Commits

Author SHA1 Message Date
Claude Owner
26b4525316 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>
2026-11-11 08:35:26 +09:00
Claude Owner
9eed231244 fix(docker): add python3/make/g++ for native module rebuilds; clarify DEV docs
- @discordjs/opus@0.10.0 has no node>=22 prebuilt, so node-gyp falls back
  to source compile and needs python3/make/g++. Add them to apt-get install
  in the bookworm-slim base. Verified `docker build` succeeds end-to-end.
- .env.example: rewrite DEV description to cover both behaviors
  (clientReady guild-only registration + Prod-commands guild-wipe-then-global).
2026-05-27 21:00:07 +09:00
Claude Owner
94a39e0d45 chore(docker): switch to node:22-bookworm-slim and add .env.example
- Dockerfile base now node:22-bookworm-slim (glibc) so better-sqlite3
  uses prebuilt binaries and node-gyp/python build deps are no longer
  required. Also satisfies @discordjs/voice node>=22.12 engine req.
- Drop redundant `mkdir -p dist` (build script handles it).
- Add .env.example covering TOKEN, APPID, PREFIX, DBPATH, GUILDID,
  CHZZK_NID_AUT/SES, SIGNATURE_HOST, TTSPATH, DEV, DEBUG, REPLACETEXT.
- README: update base image note.
2026-05-27 20:54:00 +09:00