spotifyplugin

package
v0.0.0-...-7e69f2d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SpotifyHelp = []string{
	"spotify search track [query] -- Searches spotify for a track",
	"spotify search album [query] -- Searches spotify for an album",
	"spotify search artist [query] -- Searches spotify for a band or artist",
}

Functions

This section is empty.

Types

type SpotifyClient

type SpotifyClient struct {
	Client *spotify.Client
}

func NewSpotifyPlugin

func NewSpotifyPlugin(clientid, clientsecret string) *SpotifyClient

func (*SpotifyClient) OnMessage

func (s *SpotifyClient) OnMessage(m *dgofw.DiscordMessage)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL