| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
- _ensure_voice_client: call _remove_voice_client() when cleaning up stale
or disconnected clients so the fresh connect doesn't hang for 30s
waiting for Discord's stale state to clear
- Reduce connect timeout from 30s to 10s for faster failure recovery
- vclogs.py: use a unique temp filename per TTS call (include timestamp)
instead of relying on PID alone, preventing concurrent TTS calls from
clobbering each other's files
|
| |
|
|
|
|
|
|
|
| |
- cron.py: replace while-is_playing polling with VoiceManager.play_source()
- vclogs.py: replace while-is_playing polling with VoiceManager.play_source()
- stop.py: use VoiceManager.disconnect() instead of raw voice_client
- join.py: use VoiceManager.connect() instead of raw channel.connect()
- voice.py: add back join_by_channel_id() convenience method
- Tests: update for new VoiceManager method names and signatures
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Move all static helpers (validate_voice_channel, prepare_source,
prepare_audio_source, etc.) from AudioPlaybackManager into VoiceManager
- Add _play_await() using asyncio.Future + after callback, replacing
all polling patterns and the 5-second sleep hack
- Add play() high-level method and play_source() for pre-made sources
- Unify connection logic under single _ensure_voice_client()
- Remove dead Voice cog class and its setup()
- Gut audio_playback.py to a re-export shim
- Remove cogs.voice from main.py extensions
|
| |
|
|
| |
Signed-off-by: salmonik <raisersoft@proton.me>
|
| |
|
|
|
|
| |
but primarly, use db for all data.
Signed-off-by: salmonik <raisersoft@proton.me>
|
| |
|
|
|
|
| |
- Remove unused imports and dead code
- Cleaner error handling
- Reduce cognitive complexity
|
| |
|
|
| |
Signed-off-by: salmonik <raisersoft@proton.me>
|
| |
|
|
| |
Signed-off-by: salmonik <raisersoft@proton.me>
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|