1.0.2 • Published 4 months ago

riffy-spotify v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

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

1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

6 months ago

1.0.0-dev.1

8 months ago