Discord music bot for my playlist on Spotify, that has couple of specific commands just to integrate with this playlist (made possible with help of Spotify API).
It can of course play any other music track using Lavaplayer that uses YouTube Sound Cloud™ Client for streaming and searching tracks. Branded with the name of the playlist just for fun.
The playlist was created back when I was in high school. It features party hits mainly from years late 2000s and early 2010s (I love 'white girls' music btw) mixed with some recent popular tracks.
I recommend it as a ready-to-go playlist for parties if someone didn't have one already and I acted like it's some real brand (I still do) and it's kinda fun.
Then I combined this idea with my programming skills and created this bot as a side project.
A friend of mine also got hooked to this idea and created a 'tracker' bot (Github) for this playlist. This bot notifies followers whenever the tracklist on Spotify is updated and shares a randomly chosen daily song at 12PM (CET) via Twitter everyday. Additionally, it is also possible to fetch daily song directly from RatPartMix API.
Another friend aka Zuzanna top G - is making thumbnails every year for the playlist using her Photoshop skills. (they kinda fire🔥)
The playlist in mention (link):
Exact text from /help
command:
Music Commands:
/play
[track]
: Play a specific music track (paste url or provide a youtube search prompt).- arg:
track
(text): The track to be played.
- arg:
/now-playing
: display the current playing track info (this embed does not disappear after track stops playing)./queue
: Display the tracks in the queue./clear-queue
: Removes all tracks from the queue./shuffle
: Shuffles all tracks in the queue./pause
: Stop playing the current track./resume
: Resume the current track./repeat
: Sets current track to repeat/no-repeat (toggle)./forward
[seconds]
: forwards the song by amount of seconds provided.- arg:
seconds
(number): seconds to be skipped/forwarded in current playing track.
- arg:
/skip
[count]
: Skip the current track or a specified number of tracks.- arg (optional):
count
(number): The number of tracks to skip.
- arg (optional):
/leave
: Make the bot leave the channel./play-ratpartymix
: Play the Rat Party Mix 2023™ playlist./play-daily-song
: Play today's daily song./yeahbuddy
: Get pumped up for the gym!
Other Commands:
/help
: Display command list./info
: Get information about this music bot and link to the playlist./twitter
: Get information about the Twitter site.
- Spotify playlist
- Twitter 'tracker' bot (GitHub)
- RatPartMix API
- (website coming soon)
- Java 19
- Maven 3.9.6
- net.dv8tion:JDA - 5.1.0
- se.michaelthelin.spotify:spotify-web-api-java - 8.4.1
- dev.arbjerg:lavaplayer - 2.2.1
dev.lavalink.youtube:v2 - 1.7.2
repos:
- https://github.com/discord-jda/JDA
- https://github.com/spotify-web-api-java/spotify-web-api-java
- https://github.com/Walkyst/lavaplayer-fork
- https://github.com/lavalink-devs/lavaplayer (current)
- https://github.com/lavalink-devs/youtube-source
other: