Skip to content

develofy/lavalink-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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("@awokenshu/lavalink");

const bot = new Client();

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

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

About

A wrapper for Discord bots with simple usage. Playing music has never been easier!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published