Prune Bot [Blue]#9861

A free open-source Discord music bot built with discord.js


What is this bot?

PruneMusic is a free and open source Discord Music Bot built with discord.js & uses Command Handler from discordjs.guide, Our goal is to cover as many functionalities as possible.

support

Commands

Current Commands | Version 1.0.0

Note: The default prefix is '+'

Command Description
+play <url/title> Play music from YouTube/SoundCloud URL or song title
+search <title> Search and select music to play
+playlist <playlist url> Play youtube playlists via url
+np Now Playing
+queue, +q Queue system
+loop Loop / Repeat
+shuffle Shuffle
+volume, +v Volume control
+lyrics, +ly Lyrics
+pause Pause
+resume, +r Resume
+skip, +s Skip
+skipto, +st Skip to song # in queue
+move, +mv Move a song in the queue
+remove, +rm Remove song # from queue
+clip <your clip> Play an mp3 clip (put the file in sounds folder)
+clips List all clips
+ping Show api ping
+uptime Show bot uptime
+pruning Toggle pruning of bot messages
+help, +h View all the commands

Command Handler from discordjs.guide

Media Controls via Reactions

reactions

Self-hosting

We ask you to please not host your own instance of PruneBot. Even though our license allows it, self-hosted instances of the bot have brought us a lot of headache in the past. If you're considering self-hosting, please try the official instance of the bot first. If you have any concerns about the security of our instance, please contact us. We'd love to talk and answer any questions you have.

If you're really really really going to self-host the bot, please read our license first, and be aware that we don't provide any self-hosting support. You'll be on your own.

Requirements

  1. Discord Bot Token
  2. YouTube Data API v3 Key
    2.1 [Optional] Soundcloud Client ID
  3. Node.js v14.0.0 or newer

Getting Started

If deploying to Heroku make sure to create config variables

git clone https://github.com/mashwishi/PruneMusic.git
cd PruneMusic
npm install

After installation finishes you can use node index.js to start the bot.

Configuration

Open config.json and fill out the values:

WARNING: Never commit or share your token or api keys publicly

{
  "TOKEN": "",
  "YOUTUBE_API_KEY": "",
  "SOUNDCLOUD_CLIENT_ID": "",
  "MAX_PLAYLIST_SIZE": 10,
  "PREFIX": "+",
  "PRUNING": false,
  "LOCALE": "en",
  "DEFAULT_VOLUME": 100,
  "STAY_TIME": 30
}

Contributing

  1. Fork the repository
  2. Clone your fork: git clone https://github.com/your-username/PruneMusic.git
  3. Create your feature branch: git checkout -b new-feature
  4. Commit your changes: git commit -am 'Add feature'
  5. Push to the branch: git push origin new-feature
  6. Submit a pull request

Credits

@iCrawl For the queue system used in this application which was adapted from @iCrawl/discord-music-bot

Reviews

Average 0 out of 0 reviews

Prefix+
Upvotes (in October)0
ServersN/A

Owners


Tags


Wave separator