A Node.js Discord music bot made using the latest versions of Discord.js & play-dl
Mandarine was created as a personal Music Bot in lieu of Rythm Bot (RIP).
- Spotify Listen Along
- Soundcloud streaming
- Youtube streaming
- Spotify & Deezer link support
- play, pause, resume, skip, remove, queue
- Detailed queue embed with buttons to increment pages
- Other detailed embeds
- Deletes its own messages to avoid clutter
- Light weight & universal
- Support deezer as a source
- Local file support
- Youtube playlist support
- Spotify/Deezer Playlist support
- Help command
- Multi-threaded streaming
- Prefix command & other customizations
- Volume
- Preload next song for seamless playing
Before anything, install Node v16 LTS and create a discord bot then add the bot to your server.
In the discord developer dashboard, toggle on:
- PRESENCE INTENT
- SERVER MEMBERS INTENT
- MESSAGE CONTENT INTENT
then
- Download the Zip Archive
- Unzip archive to a directory of your choosing
- Create a file called config.json in the directory and write
{token="yourBotToken"}
to the file- Get your bot token from the discord developer dashboard
- Open command prompt or terminal in the chosen directory
- Run
npm install
- To start the bot run
node .
ornpm start
To make use of the >music command, deemix must be installed via python3 -m pip install deemix
To automatically add local tagged mp3s to the localLibrary.json, add the files to the music folder ($home$/mandarineFiles
) and run the indexer.js file found in ./music/indexer.js
using node.