Code Monkey home page Code Monkey logo

music-disc's Introduction

music_disc

Music Disc

A Discord Music Bot

Discord.js v14 coming soon

Reference version

node.js v16.15.0
discord.js 13.6.0

Dependencies Modules

  • discord-player 5.2.2
  • dotenv 16.0.0
  • ffmpeg-static 4.4.1
  • express 4.18.1
  • opusscript 0.0.8
  • ms 3.0.0-canary.1

Deploying with node.js

Clone the repository

git clone -b v1.1.5 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",
    "maxVol": 200,
    "autoLeave": true,
    "displayVoiceState":true
}

autoLeave : After the music finished, can choose whether let the bot leave voice channel automatically or not
displayVoiceState : Display voice channels state

Running the script

node index.js

Deploying with Docker

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.1.5
    restart: always
    environment:
      TOKEN: "your_token"

Start the container

docker-compose up -d

Deploying with Replit

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

music-disc's People

Contributors

hmes98318 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.