Lavalink - Keep audio playback out of your Discord bot
Music bots tend to collapse under their own dependencies. Lavalink separates the hard part into a standalone node that handles sourcing and streaming audio, while your bot sends simple commands over a WebSocket. That split keeps the bot process small and lets several bots share one node. It grew out of Lavaplayer and works with common library ecosystems, with filters and queue handling where you need them. You still need somewhere to run the node and a bot that speaks the protocol correctly. For a Discord music feature that should not take down the rest of your bot, it is the usual recommendation.
Links
- Website: https://lavalink.dev/
- GitHub: https://github.com/lavalink-devs/Lavalink
Alternatives
- Lavaplayer: the underlying Java library, better if you want playback embedded directly.
- yt-dlp: excellent at extracting media URLs, but not a bot audio node.
- FFmpeg: handles decoding and filters, with none of the queue or bot plumbing.