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:
@@ -0,0 +1,7 @@
|
||||
from .ytaudio import YTAudio
|
||||
|
||||
|
||||
async def setup(bot):
|
||||
cog = YTAudio(bot)
|
||||
await bot.add_cog(cog)
|
||||
cog.start_up_task()
|
||||
Reference in New Issue
Block a user