Common issues
The bot doesn't join the voice channel when Player#connect is called
client.vulkava = new Vulkava({
nodes,
sendWS: (guildId, payload) => {
// With discord.js
client.guilds.cache.get(guildId)?.shard.send(payload);
// With eris
client.guilds.get(guildId)?.shard.sendWS(payload.op, payload.d);
}
})The bot joins the voice channel, but does not play anything and the green circle around bot's avatar doesn't appear
// Discord.js
client.on('raw', (packet) => client.vulkava.handleVoiceUpdate(packet));
// Eris
client.on('rawWS', (packet) => client.vulkava.handleVoiceUpdate(packet));Last updated