Tutorial has been uploaded on YouTube
Watch it by clicking here
Made with ❤️ and JavaScript!
Copy or Rename config.json.example
to config.json
and fill out the values:
{
"TOKEN": "",
"YOUTUBE_API_KEY": "",
"SOUNDCLOUD_CLIENT_ID": "",
"MAX_PLAYLIST_SIZE": 10,
"PREFIX": "/",
"PRUNING": false,
"STAY_TIME": 30
}
Note: The default prefix is '/'
- 🎶 Play music from YouTube via url
/play https://www.youtube.com/watch?v=XXX69420
- 🔎 Play music from YouTube via search query
/play Faded
- 🎶 Play music from Soundcloud via url
/play https://soundcloud.com/blackknight683/free-moneyz
- 🔎 Search and select music to play
/search RickRoll
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=Your_QuErRy_hErE
-
🔎 Play youtube playlists via search query
-
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
-
Media Controls via Reactions
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/Broken-Disc.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
@eritislami For the advanced search system used in this application which was adapted from @eritislami/evobot