kawalink
v1.0.3
Published
The best lavalink client for discord.js easy for use, thx fork from sakulink
Readme
Getting Started
Install Kawalink
npm install kawalinkyarn add kawalinkpnpm add kawalinkbun add kawalinkExample Code
const { Manager } = require("kawalink");
const { Client } = require("discord.js");
const client = new Client({
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.MessageContent,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.GuildVoiceStates,
],
});
client.manager = new Manager({
nodes: [
{
host: "0.0.0.0",
port: 2333,
password: "youshallnotpass",
identifier: "Default",
secure: false,
playback: true,
},
],
send: (guild, payload) => client.guilds.cache.get(guild)?.shard?.send(payload),
autoPlay: true,
defaultSearchPlatform: "youtube music",
shards: client.shard?.count ?? 1,
});
client.manager.on("nodeConnect", node => console.log(`Node ${node.options.identifier} connected.`));
client.run("token")Need Help?
Join this discord server and create new forum on #help for support
Credits
- Forked by Sakulink
- Modify by Magmastream
- Modify by Erela.JS
- Modify by Moonlink.JS
