Skip to content

Twitch bot which sends Songwhip universal music links from LastFM scrobbles

License

Notifications You must be signed in to change notification settings

kobitate/songwhip-twitch-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Universal Music Link Twitch Bot

JavaScript Style Guide Built with Love Powered by DMCA Notices

Twitch Chat Preview

Sure, you're not exactly supposed to play copyrighted music on Twitch. But, for those who are ignoring that rule, link your Twitch viewers to a page with links to just about every streaming platform for the currently playing song.

Environment Variables

Variable Example Description
TWITCH_BOT_USERNAME songlink Bot username used to interact with Twitch chat
TWITCH_OAUTH_TOKEN oauth:abc123 OAuth token associated with bot account. See tmi.js docs
TWITCH_CHANNEL KaiTiggy Channel bot will join when connecting to Twitch
LASTFM_CLIENT_ID abc123 LastFM Client ID, See LastFM Docs
LASTFM_CLIENT_SECRET abc123 LastFM Client Secret
LASTFM_USERNAME KaiTiggy LastFM username where tracks are scrobbled. Relies on your music client using the Now Scrobbling feature
SPOTIFY_CLIENT_ID abc123 Spotify Client ID for Client Authorization flow, See Spotify docs
SPOTIFY_CLIENT_SECRET abc123 Spotify Client Secret

Commands

Command Details
!songlink [enable|disable] Enable or disable automatic sending of the current LastFM song. Only available to channel owner
!song
!nowplaying
!track
!music
Send the link for the currently playing song
!album Send the link for the current song's album
!artist Send the link for the current song's artist

An unofficial product powered by Songwhip

About

Twitch bot which sends Songwhip universal music links from LastFM scrobbles

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published