erelasfy 🎧
A simple plugin for erela.js package to play Spotify music and retrieve Spotify metadata to the track(s).
Erelasfy can play Spotify tracks, albums, playlists and popular artist tracks.
Installation
npm i erelasfy@original
npm i erelasfy@latest
Usage (typescript)
import { Manager } from 'erela.js';
import { Erelasfy } from 'erelasfy';
const manager = new Manager({
nodes: [
{
host: 'lava.drgato.me',
port: 2333,
password: 'youshallnotpass'
}
],
plugins: [
new Erelasfy({
clientId: 'your spotify client id',
clientSecret: 'your spotify client secret'
})
]
});
manager.search('https://open.spotify.com/track/4uLU6hMCjMI75M1A2tKUQC');