EvoBot is a Discord Music Bot built with discord.js & uses Command Handler from discordjs.guide
- Discord Bot Token Guide
- YouTube Data API v3 Key Guide
2.1 (Optional) Soundcloud Client ID Guide - Node.js v12.0.0 or newer
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.
Copy or Rename config.json.example
to config.json
and fill out the values:
{
"TOKEN": "",
"YOUTUBE_API_KEY": "",
"MAX_PLAYLIST_SIZE": 10,
"PREFIX": "/",
"PRUNING": false
}
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 (Requires Soundcloud Client Id)
/play https://soundcloud.com/blackhorsebrigade/pearl-jam-alive
- π Search and select music to play
/search Pearl Jam
- π 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
- Command Handler from discordjs.guide
- Now Playing (/np)
- Queue system (/queue, /q)
- Loop / Repeat (/loop)
- Shuffle (/shuffle)
- Volume control (/volume, /v)
- Pause (/pause)
- Resume (/resume, /r)
- Skip (/skip, /s)
- Skip to song # in queue (/skipto, /st)
- Toggle pruning of bot messages (/pruning)
- Help (/help, /h)
- Media Controls via Reactions
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/evobot.git
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
@iCrawl For the queue system used in this application which was adapted from @iCrawl/discord-music-bot