Giter VIP home page Giter VIP logo

disc-11's Introduction

Disc 11 by Zhycorp

A dedicated open-source music bot for Zhycorp based on Jukebox

Discord server CI Status

Usage

Requires Node.js version v14.x or above.

  1. Install Node.js
  2. Delete old .env, rename .env.schema to .env and fill out the values (example on .env.example)
  3. Install dependencies as stated here before you continue surfing
  4. Run npm run build using Node package manager
  5. Optional thing, prune dev dependencies (this is good to save disk spaces):
$ npm prune --production
  1. Start it with npm start, and you're done!

Notes:

  1. You only need to configure .env file when you're using the Docker image
  2. If you're using "Deploy to Heroku" button, you don't need to do this.

Installation

Without optional packages

$ npm install --no-optional

With optional packages (recommended)

$ npm install

For optional packages, you need to install build tools as stated here and you also need to install Git.

Heroku

This clone project is still supports Heroku host because the original project is using this.

Deploy

Glitch

You can still use Glitch and keep it online in this project, no worries ๐Ÿ˜‰

  1. Go to glitch.com and make an account
  2. Click New Project, and then Import from GitHub
  3. Please specify the field with https://github.com/zhycorp/disc-11, then wait for a while
  4. Find the file names .env.schema then rename it to .env, let's configure that
  5. Get your bot token at Discord developer portal then invite it to your server, and fill the bot prefix with anything you want
  6. To get an YouTube API v3 Key, please watch this video carefully
  7. Specify another options on that file. If you don't know how, there's .env.example so you can know what it should looks like
  8. After that, go to Tools > Terminal type refresh
  9. Close Terminal tab, then open Tools > Logs, wait for a while
  10. To make it stay online, please watch this video carefully.

Your bot is online, and ready to use! If you have any questions or need support, feel free to join our Discord server.

Docker

Want to use Dockerized version of this project? Sure, we have provided them on the Docker Hub, and also in GitHub Container Registry.

Volumes

Docker Volumes are needed to store cache and logs persistently.

Example:

$ docker run --env-file .env --volume cache:/app/cache --volume logs:/app/logs --restart unless-stopped hazmi35/jukebox

We also provide docker-compose.yml if you want to go that way.

Compose Example

$ docker-compose up

Features

  • Basic Commands (Help, Ping, Invite & Eval [for advanced bot owners])
  • Basic Music Commands (Play, Skip, Stop, Pause & Resume, Now Playing, Queue, Repeat, Volume)
  • A production-ready music bot, suitable for you that don't like to hassling with the code
  • Caching (cache youtube downloads)
  • Configurable (easy to use)
  • Docker-friendly (if you're advanced user)
  • Lightweight (only around 120MB with dev dependencies pruned)

Based on discord-music-bot and reworked from jukebox

disc-11's People

Contributors

allvaa avatar dependabot-preview[bot] avatar dependabot[bot] avatar emmiez avatar goruakiba avatar h29id avatar hansputera avatar mednoob avatar mozartrafi avatar mzrtamp avatar ranggagultom avatar sharifpoetra avatar thrace19 avatar tiramitzu avatar waxaranai 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.