musicbot icon indicating copy to clipboard operation
musicbot copied to clipboard

A fast and easy to use Discord.JS 14 music bot that supports YouTube, Spotify and SoundCloud sources to play music off!

Music Bot

🎵⚡ A fast and easy to use Discord.JS 14 music bot that supports YouTube, Spotify and SoundCloud sources to play music off! ⚡🎵

GitHub Repo stars GitHub forks GitHub Issues GitHub commit activity (branch)

✨ Music Bot Features

  • Playback support for: YouTube, Spotify (with YT Search), SoundCloud
  • Fast and optimized music system using play-dl
  • Key-less YouTube support
  • Slash Commands

❓ How to run

  • Install latest Node.JS LTS and Git.
  • Install the bot's dependencies (pnpm, npm or whatever you use).
  • Modify the Bot.tsfiles in ./src/components/ for your bot's configuration.
  • Either make a .env file based off the config in .env-example or configure the config.ts in ./src/components/ for your bot.
  • Run the build script.
  • Run the bundle.js output file in the dist folder or the start script.

❓ Extra information

As of @discordjs/voice version 0.18.0, you must only install one of the following packages yourself if your system doesn't support AES-256-GCM (verify by running require ('node:crypto').getCiphers().includes('aes-256-gcm'))

  • sodium-native: ^3.3.0
  • sodium: ^3.0.2
  • @stablelib/xchacha20poly1305: ^2.0.0
  • @noble/ciphers: ^1.0.0
  • libsodium-wrappers: ^0.7.9

You will also need to install node-gypm and the requirements that they tell you for a C++ compiler for your operating system as zlib-sync uses C++.

🛠️ Contributions

If you think you can improve Music Bot, please submit a pull request that has well written and efficient code. Slow and poorly written code will be rejected or asked to be re-written properly.

🤝 Support

Submit an issue here in the repository, or join the Infinium Community (My own bot which Music Bot has been based off): https://discord.gg/QFvCUDydvV

🌟 Credits

  • eritislami/evobot for their amazing music system which I adapted with some personal changes.