/Discord-Music-Bot

This is a music bot based around the Discord.JS dispatcher. This does not use fancy packages like erala.js or discord-player.

Primary LanguageJavaScript

DISCLAIMER

Since discord.js v13 has recently come out I am trying my best to update this to discord.js v13!

Discord Music Bot

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.

Codacy Badge

How to use this project

  1. Fork or Download the project and integrate it to your code.
  2. 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
  3. Create a .env file and copy .env.template and fill out the required tokens
  4. Install dependencies by running npm install
  5. To start the bot run node index.js in a command handler

Supported Sources

  • Spotify + Spotify Playlists
  • YouTube + YouTube Playlists
  • Soundcloud Tracks
  • mp3 - Restricted to discord

Potential Support

  • Spotify Albums
  • Deezer
  • Twitch
  • Vimeo
  • Apple Music
  • Bandcamp

Potential Features

  • 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)

Author

Discord Music Bot DevCytech