Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

96 Commits

Repository files navigation


LavaJS Logo


DiscordLicenseDownloads

Installation

  • Using Node Package Manager (NPM):
npm install @overleap/lavajs
  • Or using Yarn:
yarn add @overleap/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 clientsconst{ Client }=require("discord.js");const{ LavaClient }=require("@overleap/lavajs");// New discord client instanceconstbot=newClient();// Create the node optionsconstnodes=[{host: "localhost",port: 2333,password: "mypassword",retries: 5,},];// New LavaClient instanceconstlavaClient=newLavaClient(bot,nodes);// Login the discord clientbot.log("token");

Bot Examples

  • TODO

Author

About

A lightweight and Dynamic LavaLink wrapper for Discord bots. Playing music has never been easier!

Topics

Resources

Stars

14 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages