Personal musicbot for our personal discord server, used JDA and Lavaplayer to make the bot. Check Lava Player for supported links and formats.
This bot supports:
- !play <link>/search string
- !skip (next song)
- !stop (purges queue and stops the music)
- YouTube playlist support.
- YouTube keyword search for top three results
You're free to use the source code, but you have to create your own bot on Discord and get your own YouTube API Token.
If you use the source code and push it to GitHub or services like it, make sure you don't add the Discord Bot Token and YouTube API Token directly to the code that is pushed. Discord will disable the token and YouTube token might get abused.