Commands:
- $play [song name]
- $splay [spotify playlist link]
- $pause
- $resume
- $next/$skip
- $clear
- $reset
- $help [optional parameter: command name]
Hosted via a Linux virtual machine instance on Oracle Cloud: Click here to add the bot to your server!
- Make sure you have
Python
+ a Python package installer likePip
.- Check by running in your terminal
python --version
andpip --version
(Pre-installed on Macs).
- Check by running in your terminal
- Run
git clone https://github.com/GeoffreyFClark/Discord-Music-Bot.git
in your terminal.- Be sure to navigate to wherever you want the repository saved.
- Alternatively you can download this repository in a .zip by clicking code --> Download ZIP.
- Open repository folder in terminal, run
pip install -r requirements.txt
to install the 2 required libraries.- Alternatively run
pip install nextcord nextwave
- Alternatively run
- Input your discord token, spotify_client_id, and spotify_client_secret in lines 7-9 and save.
- You can obtain the spotify client id + secret from the spotify developer portal.
- Create App (Put anything for name, description, redirect URI).
- App --> Settings --> View Basic Information --> Client ID + View Secret.
- You can obtain a discord token from the discord developer portal.
- Create a Discord App --> Bot sidetab --> Configure Settings --> Add Bot --> Copy Discord Token
- Create a Discord App --> Bot sidetab --> Configure Settings --> Add Bot --> Copy Discord Token
- You can obtain the spotify client id + secret from the spotify developer portal.
- Add the bot to your server via the discord developer portal.
- OAuth2 sidetab --> URL Generator --> Scopes: bot --> Select Permissions --> URL to add bot to servers.
- Run Script and enjoy!
- OAuth2 sidetab --> URL Generator --> Scopes: bot --> Select Permissions --> URL to add bot to servers.