@awokenshu/lavalink
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Important

You need the following things before you can kick off with LavaJS:

The setup has been covered in our official documentation. Do check it out if you have any doubts.

Basic Startup Guide

  • Create an application.yml file in the Lavalink.jar directory.
  • Run the Lavalink.jar file in a terminal window using java -jar Lavalink.jar.

Example code for running the client:

const { Client } = require("discord.js");
const { LavaClient } = require("@develofy/lavalink");

const bot = new Client();

const nodes = [
	{
		host: "localhost",
		port: 2333,
		password: "mypassword",
		retries: 5,
	},
];

const lavaClient = new LavaClient(bot, nodes);
bot.log("token");

Package Sidebar

Install

npm i @awokenshu/lavalink

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

71.4 kB

Total Files

12

Last publish

Collaborators

  • awokenshu