A simple music bot that plays music from urls.
This project demonstrates how to create a music bot using Discord4J, Lavalink and Spring Boot.
- Replace the token and guildId in
resources/application.yml - Run
gradlew bootRun - Join a voice channel
- Use the command
/play <url>to play music from a url - Enjoy!
NOTE: The project in its current state will only works on windows. You can edit the build.gradle.kts to add the needed native dependencies for other OS.
See https://github.com/Discord4J/Discord4J/blob/master/voice/README.md for more info.