fde236118d
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.
8 lines
127 B
Python
8 lines
127 B
Python
from .ytaudio import YTAudio
|
|
|
|
|
|
async def setup(bot):
|
|
cog = YTAudio(bot)
|
|
await bot.add_cog(cog)
|
|
cog.start_up_task()
|