Set your Discord status as your currently playing Spotify song. (Nitro check included for Spotify icon)
This script was recreated from my orignal script for personal use. I'm not responsible for anything that happens to your account.
You need git
, python3
and pip3
installed on your machine.
sudo apt update
sudo apt install git python3 python3-pip -y
Clone this repository and install requirements.
git clone https://github.com/Nx0Ri/Spoticord.git
cd Spoticord/
pip3 install -r requirements.txt
You need Python installed on your pc.
Clone/Download this repository (Release) and install requirements.
cd Spoticord/
pip install -r requirements.txt
Get your Discord Token of account: Discord Token.
Get your Client ID and Client Secret by creating Spotify Developer Application: Spotify Developer Application.
- Paste your token in
token
field in bot.py. - Copy the
client_id
andclient_secret
and place them in the spotify.py inSPOTIPY_CLIENT_ID
andSPOTIPY_CLIENT_SECRET
. - Use:
python3 bot.py
or use .bat files.
If nothing is wrong, the script should open a Spotify login link in your browser.
Login, and you're done!
- Head to the Spotify Developer Dashboard and create an application.
- Make sure your
Redirect URL's
is set tohttp://localhost:8888/callback
unless changed in the spotify.py. - Copy the
client_id
andclient_secret
.
- Open the developer console with
F12
orCtrl+Shift+i
. - Go to the
Network
tab. - Filter by
Fetch/XHR
. - Choose one of requests shown on image below.
- Under the
Request Headers
->Authorization
section, there will be your Discord token. Copy it.