Coder Social home page Coder Social logo

admusicbot's Introduction

Deploy

๐Ÿค– Android Discord (Discord Music Bot)

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

Installation

  1. How to obtain a Discord Bot Token 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.it as it gives more convinience than glitch website.. Go to repl.it here.To gain free hacker plan, go to here and paste this code there

Code - techwithtim


๐Ÿง 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/gtagamermods/admusicbot.git
cd admusicbot
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 ๐Ÿšจ๐Ÿšจ

{
  "TOKEN": "",
  "YOUTUBE_API_KEY": "",
  "SOUNDCLOUD_CLIENT_ID": "",
  "MAX_PLAYLIST_SIZE": 10,
  "PREFIX": "ad!",
  "PRUNING": false,
  "STAY_TIME": 30,
  "LOCALE": "en",
  "support_server": "",
  "DEFAULT_VOLUME": 100
}

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 'ad!'

  • ๐ŸŽถ Using YouTube Url

ad!play https://www.youtube.com/c/ANDROIDDISCORD

  • ๐Ÿ”Ž Playing music via Name

ad!play Let me love you

  • ๐Ÿ”Ž Search and play

ad!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

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

  • ๐Ÿ”Ž Play youtube playlists via search query

ad!playlist NCS Releases search

Commands of Our Bot

  • Now Playing (ad!np)
  • Queue system (ad!queue, ad!q)
  • Loop / Repeat (ad!loop)
  • Shuffle (ad!shuffle)
  • Volume control (ad!volume, ad!v)
  • Lyrics (ad!lyrics, ad!ly)
  • Pause (ad!pause)
  • Resume (ad!resume, ad!r)
  • Skip (ad!skip, ad!s)
  • Skip to song # in queue (ad!skipto, ad!st)
  • Remove song # from queue (ad!remove, ad!rm)
  • Toggle pruning of bot messages (ad!pruning)
  • Help (ad!help, ad!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

admusicbot's People

Contributors

devxsagnik avatar nexgenmods avatar amit76270 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.