Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

botyo-command-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

botyo-command-spotify

Spotify command for Botyo

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Spotify Command for Botyo

npm npm npm

The Spotify Command for Botyo posts a Spotify song to the chat.

Usage

#spotify <track>

For example:

  • #spotify Don't Let Me Down
  • #spotify Tyga - Dope - you can optionally include the artist for a more relevant result

Requirements

You need to register your application on the Spotify Developer website, as described in the Web API Tutorial in order to obtain a client ID and secret. These need to be set in the module configuration, as shown in the example below.

Install

Step 1. Install the module from npm.

npm install --save botyo-command-spotify

Step 2. Register the module.

import Botyo from "botyo";
import SpotifyCommand from "botyo-command-spotify"

Botyo.builder()
    ...
    .registerModule(SpotifyCommand)
    ...
    .build()
    .start();

Configuration

modules:
  SpotifyCommand:
    market: US   # An ISO 3166-1 alpha-2 country code. Only tracks playable in that market will be returned.
    clientId: YOUR_CLIENT_ID
    clientSecret: YOUR_CLIENT_SECRET

Keywords

FAQs

Package last updated on 08 Jun 2018

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc