Supports YouTube, Spotify, SoundCloud streams.
node.js v18.14.2
discord.js v14.7.1
git clone -b v1.3.0 https://github.com/hmes98318/Music-Disc.git
or click here to download
install all the dependencies from package.json
npm install
TOKEN = "your_token"
NAME = "Music Disc"
PREFIX = "+"
PLAYING = "+help | music"
COLOR = "#FFFFFF"
DEFAULT_VOLUME = 50
MAX_VOLUME = 100
AUTO_LEAVE = true
AUTO_LEAVE_COOLDOWN = 5000
DISPLAY_VOICE_STATE = true
PORT = 33333
AUTO_LEAVE
: After the music finished, can choose whether let the bot leave voice channel automatically or not.
AUTO_LEAVE_COOLDOWN
: Timer for auto disconnect(ms).
DISPLAY_VOICE_STATE
: Show voice channel status updates.
npm run start
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.3.0
container_name: music-disc
restart: always
environment:
TOKEN: "your_token"
PREFIX: "+"
PLAYING: "+help | music"
COLOR: "#FFFFFF"
DEFAULTVOLUME: 50
MAXVOLUME: 100
AUTO_LEAVE: "true"
AUTO_LEAVE_COOLDOWN: 5000
DISPLAY_VOICE_STATE: "true"
ports:
- 33333:33333
docker-compose up -d