joinChannel reused a same-guild connection and re-subscribed a new player and receiver each time, stacking duplicate speaking listeners (→ duplicate voice turns) and error handlers. Now it no-ops if already in the target channel and otherwise leaves the current connection first, so channel switches are clean. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
15 KiB
15 KiB