Since discord.js
v13 has recently come out I am trying my best to update this to discord.js v13!
I have seen many Discord Music Bots on GitHub but most use a fancy package like discord-player, andesite, or erela.js and a few others. For this project I wanted to make a Discord Music bot based around the built in Dispatcher in discord.js. This project uses FFMPEG and opusscript with the discord.js dispatcher. This bot currently only plays from YouTube. Future Versions may include more audio sources.
- Fork or Download the project and integrate it to your code.
- Get YouTube Data v3 Credentials to continue
- OPTIONAL: Get soundcloud client ID for soundcloud link support and continue
- OPTIONAL: Get Ksoft.si key for lyrics and continue
- Create a
.env
file and copy.env.template
and fill out the required tokens - Install dependencies by running
npm install
- To start the bot run
node index.js
in a command handler
- Spotify + Spotify Playlists
- YouTube + YouTube Playlists
- Soundcloud Tracks
- mp3 - Restricted to discord
- Spotify Albums
- Deezer
- Twitch
- Vimeo
- Apple Music
- Bandcamp
- Shuffle
- Skip to
- Queue Looping (Allow the queue to repeat not just the track)
- Previous Track (Add the previous track to play next)
- Queue Looping (Allow the queue to repeat not just the track)
- Previous Track (Add the previous track to play next)
Discord Music Bot DevCytech