A Discord music bot, written in Kotlin using the kord library.
Find a file
moonleay 8cc3e70f24
chore: improved readability
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-14 09:05:27 +01:00
gradle/wrapper chore: upgrade gradle to 8.5 2023-12-13 19:11:28 +01:00
src/main chore: improved readability 2023-12-14 09:05:27 +01:00
.gitignore chore: updated .gitignore, updated README.md 2023-12-13 14:39:19 +01:00
.gitlab-ci.yml feat: added basic music controls, added music, added gitlab-ci.yml updated README.md 2023-03-28 23:34:10 +02:00
build.gradle.kts chore: update Copyright 2023-12-13 19:08:08 +01:00
Dockerfile feat: added button controls for controlling music, added presence, added color codes to bot output, added some comments into the code 2023-04-26 17:48:53 +02:00
gradle.properties chore: update Copyright 2023-12-13 19:08:08 +01:00
gradlew chore: upgrade gradle to 8.5 2023-12-13 19:11:28 +01:00
gradlew.bat chore: upgrade gradle to 8.5 2023-12-13 19:11:28 +01:00
LICENSE Add LICENSE 2023-03-25 23:45:02 +00:00
README.md chore: add new command to README 2023-12-13 18:06:14 +01:00
settings.gradle.kts chore: update Copyright 2023-12-13 19:08:08 +01:00

Botendo version 6

"6th times the charm" ~ me

A Discord music bot, written in Kotlin using the kord library.

Contributors

Developer

Special Thanks to

  • HopeBaron for helping me a lot

Issues

Commands & Features

  • Commands
    • info -- Show basic infos about the bot
    • play -- Play a song and or add it to queue
    • upsert -- Play a song next up
    • stop -- Stop playing a song and leave the vc
    • skip -- Skip to the next song
    • queue -- Show what songs are next up
    • nowplaying -- Show what is currently playing
    • seek -- Seek to a specific time in the song
  • Features
    • Button Controller -- You can control the currently playing music using buttons.

How to self-host (using the Docker container)

  1. Pull the container
  2. Map /data/ to a folder on disk
  3. Run the Bot once
  4. Follow step 4 - 7 of "How to self-host (using the JAR)"

How to self-host (using the JAR)

  1. Download the latest release from the Package Registry ("Packages and registries" > "Package Registry")
    1. 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.)
    2. 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"
  2. Place it anywhere you want.
  3. Run the following command:

    java -jar Botendo-X.X.X-xxxxxxxx-prod.jar

  4. The bot should start and create a config file named "credentials.nils" in a folder called "data"
  5. Open it and put in your credentials.
    1. token: your Discord bot token
    2. lavaip: the IP of your LavaLink instance e.g.: ("ws://192.168.178.1:2333")
    3. lavapw: your password for the LavaLink instance
  6. Rerun the command

    java -jar Botendo-X.X.X-xxxxxxxx-prod.jar

  7. The bot should now be up and running.

How to set up workspace

Install IntellJ and import the project from git. Done.