Socket
Book a DemoInstallSign in
Socket

riffy-spotify

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

riffy-spotify

Spotify plugin for riffy

1.0.2
latest
Source
npmnpm
Version published
Weekly downloads
103
-48.24%
Maintainers
1
Weekly downloads
 
Created
Source

About

Spotify Plugin for Riffy Client.

Installation

npm install riffy-spotify

Documentation

  • Documentation
  • Discord Server

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

FAQs

Package last updated on 19 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.