A Discord music bot, written in Kotlin using the kord library.
|
||
---|---|---|
gradle/wrapper | ||
src/main | ||
.gitignore | ||
.gitlab-ci.yml | ||
build.gradle.kts | ||
Dockerfile | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
LICENSE | ||
README.md | ||
settings.gradle.kts |
Botendo version 6
"6th times the charm" ~ me
A Discord music bot, written in Kotlin using the kord library.
Contributors
Special Thanks to
- HopeBaron for helping me a lot
Known issues
- The Repeat feature does not function
- The Queue does not show the current song, if there is no song next up
- Not all comments are listed below
Commands
- info -- Show basic infos about the bot
- play -- Play a song
- stop -- Stop playing a song and leave the vc
How to self-host (using the Docker container)
- Pull the container
- Map /data/ to a folder on disk
- Run the Bot once
- Follow step 4 - 7 of "How to self-host (using the JAR)"
How to self-host (using the JAR)
- Download the latest release from the Package Registry ("Packages and registries" > "Package Registry")
- It should be called something like this: "Botendo-X.X.X-xxxxxxxx-prod.jar" (replace "X.X.X" with the latest version and xxxxxxxx" with the commit its based on.)
- If you want to run an early version, which may be (very) unsable, you can run a development version. Just use an entry ending in "-dev.jar"
- Place it anywhere you want.
- Run the following command:
java -jar Botendo-X.X.X-xxxxxxxx-prod.jar
- The bot should start and create a config file named "credentials.nils" in a folder called "data"
- Open it and put in your credentials.
- token: your Discord bot token
- lavaip: the IP of your LavaLink instance e.g.: ("ws://192.168.178.1:2333")
- lavapw: your password for the LavaLink instance
- Rerun the command
java -jar Botendo-X.X.X-xxxxxxxx-prod.jar
- The bot should now be up and running.
How to set up workspace
Install IntellJ and import the project from git. Done.
Docker commands 4 me
- docker run -it -m 2g -v/home/limited_dev/Documents/Code/Botendo/run/data/:/data/:rw limiteddev/botendo:x.x.x
- docker build -t limiteddev/botendo:x.x.x .
- docker push limiteddev/botendo:x.x.x