Supports YouTube, Spotify, SoundCloud streams.
node.js v18.12.1
discord.js v14.6.0
git clone -b v1.2.4 https://github.com/hmes98318/Music-Disc.git
or click here to download
auto install all dependencies on package.json
npm install
TOKEN = "your_token"
{
"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.
node index.js
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
docker-compose up -d