Get started with Aqualink in three steps
Set up Aqualink and start building music bots with enhanced Lavalink functionality.Step 1: Installation and Setup
Install Aqualink
Install Aqualink
Install Aqualink in your Node.js project using your preferred package manager:
Set up Lavalink server
Set up Lavalink server
Before using Aqualink, you need a running Lavalink server:
- Download the latest Lavalink.jar from GitHub releases
- Create an
application.yml
configuration file - Start your Lavalink server:
java -jar Lavalink.jar
Make sure your Lavalink server is running before initializing Aqualink!
Step 2: Initialize Aqualink
Quick setup
Quick setup
Create your first Aqualink instance and connect to your Lavalink server:
Complete configuration
Complete configuration
For production use, here’s a full configuration with all available options:
The failover options provide robust error handling and automatic reconnection!
Step 3: Play your first track
Create a player and play music
Create a player and play music
Here’s how to create a connection and play your first track:
Next steps
Explore Aqualink’s powerful features for Discord music bots:Player Management
Learn how to create, manage, and control music players.
Queue System
Implement playlists and queue management for your bot.
Audio Filters
Add effects like bass boost, nightcore, and more to audio.
Events & Listeners
Handle player events and create responsive music experiences.
Key Features
Aqualink provides enhanced functionality over standard Lavalink clients:- Easy-to-use API with intuitive methods and properties
- Built-in queue management with shuffle, loop, and skip functionality
- Advanced search supporting YouTube, Spotify, SoundCloud, and more
- Audio filters for dynamic sound modification
- Event-driven architecture for responsive bot behavior
- TypeScript support with full type definitions
Need help? Check out our API Reference or join our community Discord server for support and examples.