riffy-spotify
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

About

Spotify Plugin for Riffy Client.

Installation

npm install riffy-spotify

Documentation

Usage

const { Riffy } = require("riffy")
const { Spotify } = require("riffy-spotify")

const spotify = new Spotify({
    clientId: "XxxxXxxxXxxxX", // https://developer.spotify.com/
    clientSecret: "XxxxXxxxXxxxX"
});

client.riffy = new Riffy(client, nodes, {
    send: (payload) => {
        const guild = client.guilds.cache.get(payload.d.guild_id);
        if (guild) guild.shard.send(payload);
    },
    defaultSearchPlatform: "ytmsearch",
    restVersion: "v3",
    plugins: [spotify]
});

Conclusion

If you have any questions, feel free to join our discord server.

License

This project is licensed under the MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i riffy-spotify

Weekly Downloads

64

Version

1.0.2

License

MIT

Unpacked Size

9.52 kB

Total Files

6

Last publish

Collaborators

  • flameface
  • unschooledgamer