A friendly general-purpose Discord bot
Go to file
Beatrice DellacĂ  ae1313459d
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing
Fix typo
2023-01-15 21:21:59 +01:00
src/main Update badges 2023-01-15 05:32:11 +01:00
.deepsource.toml Add .deepsource.toml 2023-01-14 19:16:58 +00:00
.drone.yml Fix typo 2023-01-15 21:21:59 +01:00
.gitignore Ignore SQLite database 2022-11-21 00:28:29 +01:00
pom.xml Attempt to implement Nexus Maven repo deployment 2023-01-15 21:06:01 +01:00
README.MD Update badges, remove SFTP DroneCI integration 2023-01-15 20:21:04 +01:00

HidekoBot

Reliability Rating Maintainability Rating Security Rating Build Status Lines of Code

Hideko is a general-purpose Discord bot.

Startup

Download a prebuilt JAR file or build it from source, then run it with:

java -jar HidekoBot.jar [additional parameters]

Where HidekoBot.jar is the executable archive and [additional parameters] are arguments that you can add to make the bot change its behavior.

Additionally available parameters are:

  • verbose: log every message that the bot receives, plus additional debugging messages. Very spammy and performance heavy.
  • refresh: force refresh the slash commands. This is useful in case there was a simple update to a command that did not drastically change it, so no changes are found at bootup (eg: fixing a typo in the command description).

Note: Java 16 or later is required.

Initial setup

Run the startup command once. The bot will generate a config.yml file in the directory you were when you ran it.

Edit the configuration file and set all values according to your needs.

Save the file and start the bot again. If there are no issues, everything will load and it will print an invite-link in your console. Click on the link to add your bot to any server with the correct permissions already set-up. The bot supports both slash commands and message commands, with prefix hideko. Most commands support both systems, but some of them are limited in one way or another.

The bot currently supports SQLite as a database backend. A database file will be created after the first boot in the same directory that you ran it. Do not delete the database file to avoid corruption and unpredictable behavior.