node.js Rythm (note the spelling) clone, replicating essential fetaures for in-call music entertainment
Install NPM packages
npm i
Start the program
node .
Run the program through a Python script to allow auto-restart on crash/disconnect
python3 Launch.py
Clears the music player queue
Disconnects the bot from the voice call
Loop the currently playing song (not the queue)
Displays the song that is currently playing
Pause the music player
- Without any parameters - Toggle music player play/pause
!play
- With a
YouTube video URL
as a parameter - Add the song to the queue
!play https://www.youtube.com/watch?v=dQw4w9WgXcQ
- With a
search keyword
- Adds the returned search result to the queue
!play joji glimpse of us
- With a playlist URL
With a search keyword
or YouTube URL
, add the returned search result to the top of the queue
!playtop https://www.youtube.com/watch?v=dQw4w9WgXcQ
!playtop joji glimpse of us
Displays the list of songs that are currently in queue
Remove a queued video, based on a given index, from the music player queue.
The following example demonstrates removing the 4th item from the queue
!remove 4
Skip the currently playing song
Shuffles the elements inside of the queue
- Discord.js
- Discord.js/voice and dependencies
- play-dl
- Investigate playback stability
- Add a shuffle feature
- Investigate playlist stability (linked list queue implementation?)
- Implement lyrics lookup
- Incorporate slash commands into bot usage
- Remove Discord tag retrieval due to depreciation
- Write unit tests for the commands to verify functionality
- Refactor modules (i.e., move class variables inside create() into constructor)
- Update to the latest Discord.js version
Coming soon...