/discord-music-bot

The perfect music bot for your Discord server! 🤘

Primary LanguageJavaScript

Discord Music Bot

The perfect music bot for your Discord server! 🎶

Features

Highlights

  • Simple & easy to use 🤘
  • Audio filters (bassboost) 🎸
  • YouTube, Facebook and Vimeo support 🌌
  • Slash Commands support 🤖
  • Play in multiple servers at the same time 🚗

Commands

Here are all the available commands in the bot!

Name Description Options
/back Play the previous track
/bassboost Toggle bassboost filter
/clear Clear the current queue.
/history Display the queue history <page>
/jump Jump to a specific track <tracks>
/loop Set loop mode <mode>
/np See what's currently being played
/pause Pause the current song
/play Play a song from youtube <query>
/playnext Add a song to the top of the queue <query>
/queue See the queue <page>
/remove Remove a specific track <track>
/resume Resume the current song
/seek Seek to the given time <time>
/shuffle Shuffle the queue
/skip Skip to the current song
/stop Stop the player
/volume Set music volume <amount>

About

The project uses the following libraries:

Installation

Manual

  • Install FFMPEG.
  • Clone the repository. (git clone https://github.com/Androz2091/discord-music-bot)
  • Copy the .env.example file as .env and fill it.
  • DISCORD_CLIENT_ID is the ID of your Discord BOT
  • DISCORD_CLIENT_TOKEN is the token of your Discord BOT
  • Install the dependencies. (yarn install or npm install)
  • Start the bot! (yarn start or npm start or node .)

Docker

  • Copy the .env.example file as .env and fill it.
docker build . -t discord-music-bot
docker run -d --env-file .env discord-music-bot 

Example with docker-compose

version: '2'

services:
  bot:
    build: .
    environment:
      DISCORD_CLIENT_ID: ""
      DISCORD_CLIENT_TOKEN: ""
      DISCORD_CLIENT_PUBKEY: ""
      DISCORD_GUILD_ID: ""