3.5.2 • Published 3 years ago

@anonymousg/lavajs v3.5.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Installation

Using the Node Package Manager (NPM)

npm install @anonymousg/lavajs

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.

Documentation and Support

  • The latest changelog can be found here.
  • Our official documentation is available here.
  • For any further query and support join us at Overleap discord.

Basic Startup Guide

  • Create an application.yml file in the Lavalink.jar directory and paste this example in it.
  • Run the Lavalink.jar file in a terminal window using java -jar Lavalink.jar.

Example code for running the client:

// Require Discord and LavaJS clients
const { Client } = require("discord.js");
const { LavaClient } = require("@anonymousg/lavajs");

// New discord client instance
const bot = new Client();

// Create the node options
const nodes = [
	{
		host: "localhost",
		port: 2333,
		password: "mypassword",
		retries: 5,
	},
];

// New LavaClient instance
const lavaClient = new LavaClient(bot, nodes);

// Login the discord client
bot.log("token");

Bot Examples

Author

3.5.2

3 years ago

3.5.1

3 years ago

3.5.0

4 years ago

3.4.2

4 years ago

3.4.1

4 years ago

3.4.0

4 years ago

3.3.1

4 years ago

3.3.0

4 years ago

3.2.6

4 years ago

3.2.5

4 years ago

3.2.4

4 years ago

3.2.2

4 years ago

3.2.1

4 years ago

3.2.0

4 years ago

3.1.0

4 years ago

3.0.0

4 years ago

2.0.8

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.3

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago