Skip to content
/ disc-11 Public template
forked from stegripe/rawon

A dedicated open-source Discord bot for Zhycorp based on our Discord bot template with more features. Easy to use, and with no coding required.

License

Notifications You must be signed in to change notification settings

ttttdeded/disc-11

 
 

Repository files navigation

Disc 11 by Zhycorp

A dedicated open-source Discord music bot for Zhycorp based on Jukebox, easy to use, and with no coding required.

Discord Server CI Status

Usage

Requires Node.JS version 14.x or above.

  1. Install Node.JS first
  2. Rename .env.schema to .env and fill out the values (example on .env.example)
  3. Install dependencies as stated here
  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.

Hosting

Heroku

This clone project is supporting Heroku, because the original project is recommending using this.

Deploy

Glitch

You can use Glitch to keep this bot online with 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. Delete the .env file, find the file named .env.schema and rename it back to .env, let's configure that
  5. Get your bot token from Discord developer portal then invite it to your server, and fill the bot prefix with anything you want
  6. Please complete the other configuration fields, if you don't know, there will be a file named .env.example as an example.
  7. To get an YouTube API v3 Key, please watch this video carefully
  8. After that, go to Tools > Terminal > type refresh
  9. Close the Terminal tab, then open Tools > Logs, wait for a while
  10. To make the bot 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? We provide 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 developers])
  • Basic Music Commands (Play, Skip, Stop, Pause and Resume, Now Playing, Queue, Repeat, Volume)
  • A production-ready music bot, suitable for you that dislike hassling with the code
  • Lightweight (only around 120MB with dev dependencies pruned)
  • Caching (cache youtube downloads)
  • Configurable, and easy to use
  • Docker-friendly

Based on jukebox

About

A dedicated open-source Discord bot for Zhycorp based on our Discord bot template with more features. Easy to use, and with no coding required.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 95.1%
  • Shell 2.7%
  • Dockerfile 1.1%
  • JavaScript 1.1%