Multi-Node Support
Connect to multiple Lavalink nodes with intelligent load balancing, health monitoring, and automatic failover.
A powerful, feature-complete audio engine for Discord bots
npm install fuelinkconst { Client, GatewayIntentBits } = require('discord.js');
const { Fuelink } = require('fuelink');
const client = new Client({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildVoiceStates]
});
const fuelink = new Fuelink({
nodes: [{ name: 'main', host: 'localhost', port: 2333, password: 'youshallnotpass' }]
});
client.once('ready', async () => {
await fuelink.init(client);
console.log('Ready!');
});
client.login('YOUR_TOKEN');