Giter Site home page Giter Site logo

dc_guru_music-bot's Introduction

Deploy

๐Ÿค– DC Guru (Discord Music Bot)

DC_GURU_MusicBot is a Discord Music Bot built with discord.js & uses Command Handler from discordjs.guide

Installation

  1. How to obtain a Discord Bot Token and invite that bot to your srrver Guide

  2. YouTube Data API v3 Key Guide

  3. SoundCloud is no more providing APIs so no need of api.**

  4. Node.js v12.0.0 or newer

๐Ÿ Starting

I will prefer to run it on repl. Go to repl.it here.


๐Ÿง A Major Outlook

After Completing all the required installments and the changes head over to Uptime Robot here and login there..Choose the monitor as https.Then you would need a link..You could get the link in the web section of you project..First time if you dont run the project you could not see that section.Run the project and you could see it.Then paste the link in uptime robot and take any name and click monitor..And your project will be online 24/7..


๐Ÿ”Ž Making The Project

For PC users using VS Code -


git clone https://github.com/DC-Guru/DC_Guru_Music-Bot.git

cd DC_Guru_MusicBot

npm install

After installation finishes you can use node index.js to start the bot.

For repl.it users -

Tap on this --

Use on Repl.it


Type (npm i) in console

โš™๏ธ Making Files

Copy or Rename config.json.example to config.json and fill out the values:

๐Ÿšจ๐Ÿšจ Commiting your token to be accessed by others or making it public is strictly prohibited.So, dont share your token in any cost or use .gitignore to hide secrets ๐Ÿšจ๐Ÿšจ

{

  "YOUTUBE_API_KEY": "",

  "SOUNDCLOUD_CLIENT_ID": "",

  "MAX_PLAYLIST_SIZE": 10,

  "PREFIX": ">>",

  "PRUNING": false,

  "STAY_TIME": 30,

  "LOCALE": "en",

  "support_server": "",

  "DEFAULT_VOLUME": 100

}

If you are making your project in repl then follow the steps below to hide your bot token.

  • Go to your project in repl

  • Enable Desktop Site

  • Tap on the lock icon at left sidebar

  • Type token in the key field

  • Type your bot's token in the secret field

  • Tap on add new secret

  • Token Hidden from others!

Currently available locales are:

โ€ข English (en)

โ€ข French (fr)

โ€ข Spanish (es)

โ€ข Turkish (tr)

โ€ข Korean (ko)

โ€ข Brazilian Portuguese (pt_br)

โ€ข Simplified Chinese (zh_cn)

โ€ข Traditional Chinese (zh_tw)

๐Ÿ“ Features & Commands

Note: The default prefix is '>>'

  • ๐ŸŽถ Using YouTube Url

>>play https://www.youtube.com/c/ANDROIDDISCORD

  • ๐Ÿ”Ž Playing music via Name

>>play Let me love you

  • ๐Ÿ”Ž Search and play

>>search NCS Astronomia

Reply with song number or numbers seperated by comma that you wish to play

Examples: 1 or 1,2,3

  • ๐Ÿ“ƒ Play a playlist directly from youtube to Discord

>>playlist https://www.youtube.com/playlist?list=PLeiP6sSl8XyF7qcJ7WR6FjkpKtNBtzkqe

playlist

  • ๐Ÿ”Ž Play youtube playlists via search query

>>playlist NCS Releases

search

Commands of Our Bot

  • Now Playing (>>np)

  • Queue system (>>queue, >>q)

  • Loop / Repeat (>>loop)

  • Shuffle (>>shuffle)

  • Volume control (>>volume, >>v)

  • Lyrics (>>lyrics, >>ly)

  • Pause (>>pause)

  • Resume (>>resume, >>r)

  • Skip (>>skip, >>s)

  • Skip to song # in queue (>>skipto, >>st)

  • Remove song # from queue (>>remove, >>rm)

  • Toggle pruning of bot messages (>>pruning)

  • Help (>>help, >>h)

  • Command Handler from discordjs.guide

  • Controls your Discord Bot via Reactions

reactions

Main Credits go to @iCrawl for making evobot successfully the best music bot...๐Ÿ˜

Get evobot repo here -

https://github.com/eritislami/evobot

dc_guru_music-bot's People

Contributors

dc-guru avatar

Stargazers

 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.