12

GitHub - Androz2091/discord-music-bot: The perfect music bot for your Discord se...

 3 years ago
source link: https://github.com/Androz2091/discord-music-bot
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Discord Music Bot

The perfect music bot for your Discord server! notes

Features

Highlights

  • Simple & easy to use metal
  • Audio filters (bassboost) guitar
  • YouTube, Facebook and Vimeo support milky_way
  • Slash Commands support robot
  • Play in multiple servers at the same time car

Commands

Here are all the available commands in the bot!

Name Description Options /back Plays the previous track

/bassboost Toggles bassboost filter

/jump Jumps to a specific track <tracks> /loop Sets loop mode <mode> /np See what's currently being played

/pause Pause the current song

/play Plays a song from youtube <query> /playnext Adds a song to the top of the queue <query> /queue See the queue

/resume Resume the current song

/seek Seeks to the given time <time> /shuffle Shuffles the queue

/skip Skip to the current song

/stop Stop the player

/volume Sets 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! (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: ""

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK