Control spotify via a discord bot! What could go wrong? Allow anyone to queue songs, manage playback statusm and more all from a discord bot. This application uses Discord.js v14 and the Spotify Web API.
- Git
- Node.js v20.16.0 or higher (Built/Test on Node v20.17.0)
- pnpm v9.9.0 or higher (Built/Test on pnpm v9.10.0)
- Spotify Premium Account
- Discord Bot
- Go to the Spotify Developer Dashboard
- Click on
Create an App
- Fill out the form with the following information:
- App Name:
Spotify Manager
- App Description:
Control spotify via a discord bot! What could go wrong? Allow anyone to queue songs, manage playback statusm and more all from a discord bot.
- Redirect URIs:
http://localhost:18173/auth/callback
- Which API/SDKs are you planning to use?:
Web API
- App Name:
- Click on
Save
From here, you will be able to see your Client ID
. You will need these to run the application.
- Go to the Spotify Developer Dashboard
- Click on
Spotify Manager
- Click on
Settings
- Copy the
Client ID
and save them into a safe place. These will be used later on in the setup process.
- Go to the Discord Developer Portal
- Select new application and give it a name.
- Go to the
Bot
tab and click onReset Token
- Save the token in a safe place. You will need this later on in the setup process.
- Download the installer from Git Website.
- Run the installer and leave all the default settings.
- Download the installer from Node.js Website.
- Run the installer and leave all the default settings.
- Open a terminal
- Run the following command:
npm install -g pnpm
- Clone the repository
git clone https://github.com/kathund/Spotify-Manager.git
- Change directory to the project
cd Spotify-Manager
- Install the dependencies
pnpm install
- Setup the configuration by running the following command:
pnpm setup-config
This is where you will input the Client ID
and Discord Bot Token
that you saved earlier.
- Start the application
pnpm start