Skip to content

Sunday a lavalink wrapper on base erela.js + magmastream

License

Notifications You must be signed in to change notification settings

EvarinDev/Sunday.ts

Repository files navigation

sunday.ts

Status GitHub Issues GitHub Pull Requests License


Sunday a lavalink wrapper

πŸ“ Table of Contents

🧐 About

Sunday a lavalink wrapper for ( NodeJS, Bun )

🏁 Getting Started

Installing

To install Sunday.ts, follow these steps:

  1. Open your terminal or command prompt.
  2. Navigate to the root directory of your project.
  3. Run the following command to install Sunday.ts:
bun i sunday.ts

This will install Sunday.ts and its dependencies.

  1. 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.

Features

  • Multi version
  • Plugin

🎈 Usage

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")

πŸš€ Deployment

Add additional notes about how to deploy this on a live system.

⛏️ Built Using

✍️ Authors

See also the list of contributors who participated in this project.

About

Sunday a lavalink wrapper on base erela.js + magmastream

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published