1.1.7 • Published 2 years ago
erelasfy v1.1.7
erelasfy 🎧
A simple plugin for erela.js package to play Spotify music and retrieve Spotify metadata to the track(s).
Installation
# for erela.js original
npm i erelasfy@original
# for @drgatoxd/erelajs fork
npm i erelasfy@latest
Usage (typescript)
import { Manager } from 'erela.js';
// import { Manager } from '@drgatoxd/erelajs';
import { Erelasfy } from 'erelasfy';
const manager = new Manager({
nodes: [
{
host: 'lava.drgato.me', // just an example
port: 2333,
password: 'youshallnotpass'
}
],
plugins: [
// you need an spotify client id and client secret
// you can get it here: https://developer.spotify.com/dashboard/
new Erelasfy({
clientId: 'your spotify client id',
clientSecret: 'your spotify client secret'
})
]
});
manager.search('https://open.spotify.com/track/4uLU6hMCjMI75M1A2tKUQC');
- Discord: https://discord.gg/Z4wj6gYyvE
- Github: https://github.com/drgatoxd
1.1.7-dev
2 years ago
1.1.7
2 years ago
1.1.6
2 years ago
1.1.5
2 years ago
1.1.7-dev.1
2 years ago
1.1.7-erela
2 years ago
1.1.7-dev.2
2 years ago
1.1.3
2 years ago
1.1.3-erela
2 years ago
1.1.2
2 years ago
1.1.1-docs
2 years ago
1.1.1
2 years ago
1.1.0-docs
2 years ago
1.1.0
2 years ago
1.0.0
2 years ago
0.0.1
2 years ago
0.0.1-alpha.1
2 years ago