Coder Social home page Coder Social logo

notghex / evobot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eritislami/evobot

0.0 0.0 0.0 526 KB

๐Ÿค– EvoBot is a Discord Music Bot built with discord.js & uses Command Handler from discordjs.guide

License: MIT License

JavaScript 98.85% Dockerfile 1.15%

evobot's Introduction

Commitizen friendly

logo

๐Ÿค– EvoBot (Discord Music Bot)

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

Requirements

  1. Discord Bot Token Guide
  2. YouTube Data API v3 Key Guide
    2.1 (Optional) Soundcloud Client ID Guide
  3. Node.js v14.0.0 or newer

๐Ÿš€ Getting Started

git clone https://github.com/eritislami/evobot.git
cd evobot
npm install

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

โš™๏ธ Configuration

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

โš ๏ธ Note: Never commit or share your token or api keys publicly โš ๏ธ

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

Currently available locales are:

  • English (en)
  • Arabic (ar)
  • Brazilian Portuguese (pt_br)
  • Dutch (nl)
  • French (fr)
  • German (de)
  • Italian (it)
  • Japanese (ja)
  • Korean (ko)
  • Polish (pl)
  • Russian (ru)
  • Simplified Chinese (zh_cn)
  • Singaporean Mandarin (zh_sg)
  • Spanish (es)
  • Swedish (sv)
  • Traditional Chinese (zh_tw)
  • Thai (th)
  • Turkish (tr)
  • Vietnamese (vi)
  • Check Contributing if you wish to help add more languages!

๐Ÿ“ Features & Commands

Note: The default prefix is '/'

  • ๐ŸŽถ Play music from YouTube via url

/play https://www.youtube.com/watch?v=GLvohMXgcBo

  • ๐Ÿ”Ž Play music from YouTube via search query

/play under the bridge red hot chili peppers

  • ๐ŸŽถ Play music from Soundcloud via url

/play https://soundcloud.com/blackhorsebrigade/pearl-jam-alive

  • ๐Ÿ”Ž Search and select music to play

/search Pearl Jam

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

Examples: 1 or 1,2,3

  • ๐Ÿ“ƒ Play youtube playlists via url

/playlist https://www.youtube.com/watch?v=YlUKcNNmywk&list=PL5RNCwK3GIO13SR_o57bGJCEmqFAwq82c

  • ๐Ÿ”Ž Play youtube playlists via search query

/playlist linkin park meteora

  • 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)
  • Move a song in the queue (/move, /mv)
  • Remove song # from queue (/remove, /rm)
  • Play an mp3 clip (/clip song.mp3) (put the file in sounds folder)
  • List all clips (/clips)
  • Show ping to Discord API (/ping)
  • Show bot uptime (/uptime)
  • Toggle pruning of bot messages (/pruning)
  • Help (/help, /h)
  • Command Handler from discordjs.guide
  • Media Controls via Reactions

reactions

๐Ÿค Contributing

  1. Fork the repository
  2. Clone your fork: git clone https://github.com/your-username/evobot.git
  3. Create your feature branch: git checkout -b my-new-feature
  4. Stage changes git add .
  5. Commit your changes: cz OR npm run commit do not use git commit
  6. Push to the branch: git push origin my-new-feature
  7. Submit a pull request

๐Ÿ“ Credits

@iCrawl For the queue system used in this application which was adapted from @iCrawl/discord-music-bot

evobot's People

Contributors

eritislami avatar dependabot-preview[bot] avatar wolf-yuan-6115 avatar dependabot[bot] avatar rexjohannes avatar vanawy avatar entertvl avatar evrardco avatar ndbiaw avatar zackradisic avatar sparker-99 avatar sandrzejewskipl avatar techroy23 avatar abdulrahman1s avatar tomato6966 avatar hakunek avatar windsekirun avatar alsogamer avatar badryuk avatar brandonst avatar tirtagt avatar mirrox1337 avatar mmoomocow avatar santo01614 avatar totolr avatar kimjunsung04 avatar sourack avatar sarthaktexas avatar nick-winkler avatar marijn2341 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.