SpotifyParty Bot lets you listen to music with your friends in real time through discord and spotify.
First, you need to create a Party on your server and ask your friends to join. Each user will need to connect with Spotify in a link sent to the DM by the SpotifyParty Bot. After this, all party participants can add music to play in the Party for everyone.
When a song plays, it will play synchronously for everyone just like in a party 🥳.
Obs: The bot will respect the sequence of one user song at a time, so everyone can enjoy it equally.
| Command | Description |
|---|---|
| sp.join | Join a party. If no party exists in the server it will also create. |
| sp.add | Add a new music to the users queue. You can check the musics added on Spotify. |
| sp.list | List all users participating in the party. |
| sp.sync | Sync music and time with the party on Spotify. |
| sp.leave | Leave the party. |
| sp.kill | Kill the party. |
| sp.help | List of Commands. |
Pull requests and issues are welcome! Feel free to make suggestions, report bugs and help with new features ❤️.
First of all, create a new file .env with the same fields as the .env.example file. You will use this file to fill with Spotify and Discord data.
Access the Spotify Dashboard and create a new Application. Follow these steps:
- Put the Client ID and Client Secret ID in the
.env - Go to Edit Settings on App's page
- Add
http://localhost:8080/authto Redirect URLs
Access Discord Developer Portal and create a new Application, also create a bot inside of this application.
- Go in Bot
- Copy the Token and add it to the
.env - Go to OAuth, Check bot as scope and add the follow permissions: See Channels., Send Messages, Manage Messages, Embed Links, Read Message History, Add reactions
- Copy the invitation link and add to your server
go run *.goLicensed under the MIT license.