Add YTAudio cog: YouTube playback via yt-dlp -> mp3 -> Lavalink

Standalone cog that owns the Red-Lavalink client connection
(initialize on startup, close on unload) and plays YouTube/yt-dlp
sources by downloading audio, transcoding to mp3, and playing through
Lavalink's local source. Per-guild queues, multi-VC capable. Commands:
play, skip, stop, pause, resume, queue, nowplaying, volume, join, leave.
This commit is contained in:
owen
2026-09-17 17:00:42 -05:00
parent 89c96259fa
commit fde236118d
3 changed files with 438 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
from .ytaudio import YTAudio
async def setup(bot):
cog = YTAudio(bot)
await bot.add_cog(cog)
cog.start_up_task()