

GitHub - eritislami/evobot: 🤖 EvoBot is a Discord Music Bot built with discord.j...
source link: https://github.com/eritislami/evobot
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

EvoBot (Discord Music Bot)
EvoBot is a Discord Music Bot built with discord.js & uses Command Handler from discordjs.guide
Requirements
- Discord Bot Token Guide
- YouTube Data API v3 Key Guide
2.1 (Optional) Soundcloud Client ID Guide - Node.js v14.0.0 or newer
Getting Started
If deploying to Heroku make sure to create config variables
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)
- 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 api ping (/ping)
- Show bot uptime (/uptime)
- Toggle pruning of bot messages (/pruning)
- Help (/help, /h)
- Command Handler from discordjs.guide
- Media Controls via Reactions
Contributing
- 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
Credits
@iCrawl For the queue system used in this application which was adapted from @iCrawl/discord-music-bot
Recommend
-
50
I Built a Music Sheet Transcriber — Here’s How Translating from notes to ABC notation has never been so easy!
-
18
Live Coding: Advanced Python Discord Bots (Music, Database, RPG)Schedule time with mepowered by Calendly
-
14
youtune-reactnative Youtube Music client for Android, iOS and Web built with React Native. What works: Displaying home screen Using search Opening Playlists and Artists Playing music from...
-
12
Discord Music bot A simple discord bot that helps you manage your server by providing useful commands like playing music or deleting text messages. You can find the tutorial about building a discord music bot
-
14
Discord Music Bot The perfect music bot for your Discord server! Features Highlights Simple & easy to us...
-
9
-
8
Apple Music now available as built-in audio player on Waze May 24, 2022
-
7
Apple Music is getting a karaoke mode / ‘Apple Music Sing’ will be available worldwide later this month on the iPhone, iPad, and new Apple TV 4K. Dec 6, 2022, 3:14 PM UTC|
-
9
Discord music bot - Featuring Lavalink and Discord.js
-
2
VAULTA new digital music format built on Crypto RailsCreated by the co-founders of FanDuel, VAULT launched the mobile-friendly Digital Music Collectible (DMC) music format and the...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK