Coder Social home page Coder Social logo

ruka's Introduction

About

A dedicated music bot example project for Zhycorp Development made by iCrawl

This open sourced project is a dedicated example tutorial for our community's content, feel free to use and modify as good as you like. Written with discord.js and v12 (stable) as the version.

Features

  • Full playback control
  • Simple queue system
  • We're here to help

Required modules

"@discordjs/opus": "^0.3.2",
"discord.js": "^12.2.0",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"node-opus": "^0.3.3",
"opusscript": "0.0.7",
"simple-youtube-api": "^5.2.1",
"ytdl-core": "^3.2.0"

Getting started with Glitch

  1. Create your bot account at Discord Developer Portal, get the token, and invite him to your server
  2. Go to Glitch.com, click New Project, then choose Clone from Git Repo button (we recommend you to make a Glitch account before doing this)
  3. Fill the pop-up column with https://github.com/zhycorp/music-bot-example.git at the field, then click OK
  4. Change the project's name to whatever you want (optional)
  5. Rename the .env_example to .env instead, then specify the Prefix, Bot Token, and the YouTube API v3 Key (watch this video for the tutorial of getting the youtube key). Don't forget with the PROJECT_DOMAIN's value, match this value with the name of your Glitch bot project
  6. And your Discord music bot should be ready to use!

If you have made any changes to the code, don't forget to restart the bot by typing refresh at the Tools > Terminal button.

Video Tutorial (For people who usually do watching more than reading)

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am "Add some feature"
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

  1. Discord.js Music Bot © iCrawl
  2. Authored, maintained by iCrawl. And modified by Zhycorp
  3. This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. Creative Commons License

GitHub @Zhycorp

YouTube Zhycorp

ruka's People

Contributors

doncarlos01 avatar

Watchers

 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.