TwitchTunes
TwitchTunes copied to clipboard
🎶TwitchTunes - A Song Request bot that uses Spotify.
⚠️ This project has been archived.
🎶
TwitchTunes 
A Python Twitch bot that lets viewers add Spotify songs to your Spotify queue.
💻
Prerequisites
- Python
-
Windows
- Choco:
choco install python
- Choco:
-
Mac
- Brew:
brew install python3
andbrew install pip3
- Brew:
- Ubuntu Guide
-
Windows
- A Twitch bot account
- A Spotify account (Spotify Premium is required, this is an API limitation.)
✨
Useful things to have before running setup.py
- Bot Token
-
Twitch Application
- Create a
Chat Bot
application - the OAuth redirect URLs NEED to be
http://localhost:17563/
andhttp://localhost:17563
- Create a
-
Spotify Application
- Set the Website and Redirect URLs to
http://localhost:8080
- Set the Website and Redirect URLs to
⚙
Setup
- Run the
setup.py
script. <!! RUNsetup.py
ONCE, IF YOU NEED ADDITIONAL FILES, CHECK THE WIKI !!> - Follow all the instructions!
❗
How to request songs
- !sr {song name}
- You can also use a Spotify URL or URI
- You can get a URI by searching a song on Spotify, then holding down the
Ctrl
key while right clicking on the song, and then selecting "Copy Spotify URI" from the Share menu.
- You can get a URI by searching a song on Spotify, then holding down the
- You can also use a Spotify URL or URI
- If your streamer sets up channel points:
- Redeem the TwitchTunes channel point reward!
- In the that shows up, just send a spotify link!
- Redeem the TwitchTunes channel point reward!
💎
Other Commands:
-
Variables:
-
{user}
- Twitch Username -
{song}
- Can be a song name, a Spotify URI, or a Spotify URL (for the blacklist commands, it can only be a URI or URL)
-
-
Commands:
-
!ping
- Checks if the bot is online + shows what version -
!blacklistuser {user}
- Blacklists a user from using the bot -
!unblacklistuser {user}
- Unblacklists a user from using the bot -
!blacklist {song}
- Blacklists a song from being played -
!unblacklist {song}
- Unblacklists a song from being played -
!np
- Shows the current song -
!songrequest {song}
- Requests a song to be played -
!lastsong
- Shows the last 10 songs that were played! (we still can't get the Spotify queue from the API https://community.spotify.com/t5/Closed-Ideas/Developer-Web-API-playback-queue-route/idc-p/5387376#M261127 i hate spotify web api...)
-