Skip to content

Project-Econome/Music-Disc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

music_disc

Music Disc

GitHub package.json version GitHub

Discord.js v14 Music Bot

Supports YouTube, Spotify, SoundCloud streams.

Reference version

node.js v18.12.1
discord.js v14.6.0

Deploying with node.js

Clone the repository

git clone -b v1.2.4 https://github.com/hmes98318/Music-Disc.git

or click here to download

Install the dependencies

auto install all dependencies on package.json

npm install

Configure Files

.env

TOKEN = "your_token"

config.json

{
    "name": "Music Disc",
    "prefix": "+",
    "playing": "+help | music",
    "color": "#FFFFFF",
    "defaultVolume": 50,
    "maxVolume": 100,
    "autoLeave": true,
    "autoLeaveCooldown": 1000,
    "displayVoiceState": true,
    "port": 33333
}

autoLeave : After the music finished, can choose whether let the bot leave voice channel automatically or not.
displayVoiceState : Show voice channel status updates.

Running the script

node index.js

Deploying with Docker Compose

image link : https://hub.docker.com/r/hmes98318/music-disc

put your Token into docker-compose.yml

version: '3.8'
services:
  music-disc:
    image: hmes98318/music-disc:1.2.4
    container_name: music-disc
    restart: always
    environment:
      TOKEN: "your_token"
      PREFIX: "+"
      PLAYING: "+help | music"
      COLOR: "#FFFFFF"
      DEFAULTVOLUME: 50
      MAXVOLUME: 100
      AUTO_LEAVE: "true"
      DISPLAY_VOICE_STATE: "true"
    ports:
      - 33333:33333

Start the container

docker-compose up -d

Deploying with Replit

Watch it by clicking on the image down below
Music-Disc-with-Replit

About

A Discord music bot that's easy to set up and run yourself

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.1%
  • Other 0.9%