claude-memory/graph/insights/insight-voice-channel-cleanup-auto-unpublishes-scorecards-in-fb3355.md

1.3 KiB

id type title tags importance confidence created updated
fb33558f-0419-433d-afcf-8e6edef12957 insight Insight: Voice channel cleanup auto-unpublishes scorecards — intended behavior
major-domo
scorebug
voice-cleanup
scorecard-tracker
discord
insight
0.55 0.8 2026-02-20T20:30:21.058893+00:00 2026-02-20T20:30:21.058893+00:00

Voice Channel Cleanup Auto-Unpublishes Scorecards

Project

major-domo / discord-app-v2

File

commands/voice/cleanup_service.pyVoiceChannelCleanupService

Behavior

VoiceChannelCleanupService automatically calls scorecard_tracker.unpublish_scorecard() when a voice channel is:

  • Empty for 5+ minutes
  • Manually deleted
  • Found stale on startup

This removes the scorecard from data/scorecards.json.

Downstream Effect

When the live scorebug tracker runs, it sees no published scorecards and hides #live-sba-scores. This is intentional — game tracking in SBA is tied to voice channel lifecycle.

Why This Matters

During testing or debugging, if no voice channel exists, the scorebug tracker will appear to silently do nothing (or hide channels) even if games are active. The channel/scorecard must be published first. This caused confusion when testing the scorebug system in isolation.