Documentation
¶
Index ¶
Constants ¶
const Command = "spotify"
Word of the slash command the verbs are typed after
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type From ¶
Who runs words of /spotify: the profile whose account they act on, and whether a chat app limits the user who typed them to some of its commands, who then runs only the verbs that read. Playback and the sign-in are the account owner's
type Verbs ¶
type Verbs struct {
// contains filtered or unexported fields
}
The words of /spotify as sessions, the screen and the Connect service run them, answered in text a user reads
func Register ¶
Mounts the Spotify service and gives the words of /spotify, which the slash commands run too
func (*Verbs) Control ¶
func (v *Verbs) Control(ctx context.Context, cfg *config.Config, verb, value, device string) (string, error)
Changes what plays on the account of the profile: the verb with what it takes, on the device named by its name or id, the active one when empty. What was done, a sentence