feat(RPGREC-008): autojoin / autostop for monitored voice channels #14
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
florian/rpg-recorder!14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/RPGREC-008-autojoin"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
bot/autojoin.py) listens foron_voice_state_updateand automatically starts aRecordingSessionwhen ≥AUTOJOIN_MIN_USERShumans join a monitored channel, and stops with a 60 s debounce when 0 users remain.env:AUTOJOIN_CHANNELS(comma-separated channel IDs),AUTOJOIN_MIN_USERS(default: 2)🔴 Automatische Aufnahme gestartet (N Teilnehmer)on auto-join; triggers pipeline on stopRecordCogso/record stopalways works even for auto-started sessionscog_load()instead of@commands.Cog.listener()(avoids Python 3.14 decorator issue in pytest)Pragmatic decisions
🔴 Automatische Aufnahme gestartet (N Teilnehmer).envvariablesTest plan
tests/test_autojoin.pycovering all join/stop paths, debounce cancellation, skip conditions, and pipeline enqueueingmake testpasses (253/254 — one pre-existing failure intest_missing_discord_token_raisesunrelated to this PR)AUTOJOIN_CHANNELS=<channel_id>and join/leave voice channel to verify join/stop behaviour🤖 Generated with Claude Code