From bdf93cbc700f6baa55a283300d5bd3d2e958bc69 Mon Sep 17 00:00:00 2001 From: salmonik Date: Wed, 20 May 2026 16:40:28 +0200 Subject: Redirect play_commands imports to cogs.voice, remove audio_playback shim - Update play_commands.py to import get_voice_manager from cogs.voice instead of going through the audio_playback.py re-export shim - Delete the audio_playback.py shim file entirely - Update test_music_audio.py imports to use cogs.voice.VoiceManager - Delete PLAN_VOICE_REFACTOR.md (plan is complete) --- cogs/music/audio_playback.py | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 cogs/music/audio_playback.py (limited to 'cogs/music/audio_playback.py') diff --git a/cogs/music/audio_playback.py b/cogs/music/audio_playback.py deleted file mode 100644 index 5206a96..0000000 --- a/cogs/music/audio_playback.py +++ /dev/null @@ -1,10 +0,0 @@ -# This file is part of Senator Sperma -# Licensed under the GPL-3.0 License -# Copyright (C) 2026 Salmonik @ salmonik@tuta.io -# https://codeberg.org/salmonik/senator-sperma - -# Re-export shim — all voice utilities now live in cogs.voice.VoiceManager. -# Kept so existing imports in play_commands.py and ai.py keep working. -# TODO: update importers and remove this file. - -from cogs.voice import VoiceManager as AudioPlaybackManager # noqa: F401 -- cgit v1.2.3