FAQ
Node can't connect
If your node is unable to connect, please check the version of your Lavalink node.
LavaShark v2 only supports Lavalink v4 nodes.
The bot joined the voice channel, but there was no sound playing.
Check if you have registered the GuildVoiceStates
gateway intent
and if you have registered the raw
event on the Discord client.
client.on('raw', (packet) => client.lavashark.handleVoiceUpdate(packet));
Executed Player.connect(), but the bot didn't join the voice channel.
Check if you're using await when calling Player.connect()
and ensure that you've initialized sendWS()
when creating the LavaShark instance.
client.lavashark = new LavaShark({
nodes: nodeList,
sendWS: (guildId, payload) => { client.guilds.cache.get(guildId)?.shard.send(payload); }
});