Sunday a lavalink wrapper
- π Table of Contents
- π§ About
- π Getting Started
- Features
- π Usage
- π Deployment
- βοΈ Built Using
- βοΈ Authors
Sunday a lavalink wrapper for ( NodeJS, Bun )
To install Sunday.ts, follow these steps:
- Open your terminal or command prompt.
- Navigate to the root directory of your project.
- Run the following command to install Sunday.ts:
bun i sunday.ts
This will install Sunday.ts and its dependencies.
- Once the installation is complete, you can import Sunday.ts into your project and start using it.
That's it! You have successfully installed Sunday.ts and are ready to start using it in your Node.js project.
- Multi version
- Plugin
import { Node } from "sunday.ts"
const node = new Node({
host: 'localhost',
port: 2333,
password: 'youshallnotpass',
});
node.on("ready", () => {
console.log("Ready");
});
node.on("stats", () => {
console.log(node.stats);
});
node.on("raw", (data) => {
console.log(data);
});
node.connect();
node.rest?.on("get", (data) => console.log(data));
node.rest?.get("/loadtracks?identifier=dQw4w9WgXcQ")
Add additional notes about how to deploy this on a live system.
- FAYStarNext - Idea & Initial work
See also the list of contributors who participated in this project.