Critical regression: in single-account userbot mode the broadcast auto-start logged in a SECOND session of the conversation account and called joinVoice, which the streaming lib always sends with self_deaf:true. Voice state is per-account, so this deafened the CONVERSATION session too and the bot silently stopped hearing the user (STT receive broke). The Go-Live cannot connect on a shared account anyway. start() now refuses early (no joinVoice, no deafen) when there is no dedicated DISCORD_STREAM_TOKEN and no normal-bot token, protecting the conversation. A dedicated stream account re-enables the broadcast. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
4.2 KiB
4.2 KiB