mewslink-spotify
v1.0.0
Published
A mewslink plugin that allows you to play music on spotify
Downloads
6
Readme
mewslink-spotify
A mewslink plugin that allows you to play music on spotify
Install
npm i mewslink-spotify
Support source:
- https://open.spotify.com/track/7nw4ElerVAP5235FN5D2OI
- https://open.spotify.com/playlist/2gzszlY4WeJOTOUU6x3sgA
- https://open.spotify.com/album/18UoCkfQKlMVnAcZXbiBz8
- https://spotify.link/zu1pVRAg6Db
- https://open.spotify.com/artist/64tJ2EAv1R6UaZqc4iOCyj?si=mxc5IMM9RQeEPmY0KBIfjg
How to
const { Mewslink } = require('mewslink');
const { SpotifyPlugin } = require('mewslink-spotify');
const mewslink = new Mewslink({
library: new Library.DiscordJS(client),
nodes: Nodes,
plugins: [
new SpotifyPlugin(
clientId: "your_spotify_client_id",
clientSecret: "your_spotify_client_secret",
playlistPageLimit: 1,
albumPageLimit: 1,
searchLimit: 20,
searchMarket: "US"
),
],
});
mewslink.search(`https://www.spotify.com/us/playlist/53362031`); // track, album, playlist
mewslink.search('mirror heart', { engine: 'spotify' }); // search track using spotify