1.0.1-2 • Published 4 months ago

moonlink.js-lyrics v1.0.1-2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 months ago

moonlink.js-lyrics

This repository is for a plugin for moonlink.js to support a "lyrics.kt" plugin from lavalink

What is this plugin for?: with it you can create a lyrics system in real time while playing the track on a server, or create a website, it depends on your imagination

How to use

how to configure?

it's just an illustration:

 const { MoonlinkManager } = require("moonlink.js")
 const { Lyrics } = require("moonlink.js-lyrics");

 <moonlink> = new MoonlinkManager(nodes, {
   plugins: [new Lyrics()]
 }, SPayload)

How do I get the lyrics?

<moonlink>.players.<create, get>.lyrics();

will return an object with all the information about the song, often different lyrics from the song may appear This causes the plugin to not find the song and return random songs and this can sometimes bug

<moonlink>.nodes.<sortByUsage[0], get>.rest.searchLyrics("Golden Hour")
// Returns an array with objects with video ids

many of these ids are fake and can return nothing so try to get the Lyrics

<moonlink>.nodes.<sortByUsage[0], get>.rest.getLyrics("videoId");

will return an object with information about the letter and the letter itself

1.0.1-2

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago