Getting Started
Let us see how do we setup FerraLink
1. Declaring FerraLink
const { FerraLink } = require("ferra-link");2. Defining your Nodes
const nodes = [{
name: "Node",
url: "localhost:2333",
auth: "youshallpass",
secure: false
}];3. Set the Initilizer of Ferralink
client.FerraLink = new FerraLink(client, nodes, {
spotify: {
playlistLimit: "Playlist search limit here", //default limit is 5 = 500.
albumLimit: "Album search limit here", //default limit is 5 = 500.
artistLimit: "Artist search limit here", //default limit is 5 = 500.
searchMarket: "searchMarket(ISO code) here", //default searchMarket is US.
clientID: "Your spotify clientId here",
clientSecret: "Your spotify clientSecret here"
}
});4. A small example to create play command.
Last updated