Skip to content

Use TOML configuration, parse command-line options, cleanup & more

Created by: NiklasRosenstein

  • Now uses toml4j to parse config.toml instead of Java Properties file config.properties.

  • Configuration values are now stored in the new Config class.

  • Add sounds.toml file that contains the path and description of all sounds in the AudioFiles/ folder (closes #8).

  • Sounds in the database are automatically updated every time the bot starts.

  • Now uses commons-cli to parse command-line option.

    usage: hydrabot
        --config <arg>      The TOML configuration file. Defaults to
                            config.toml
        --help              Print this text and exit.
        --logfolder <arg>   The folder where log files are stored. Defaults to
                            logs/
  • Add / handler to the WebApi:

    image

    • note I'm not a 100% sure if the link to add the bot contains all permissions that the Bot actually requires. It would be good to list them in the README (see below).
  • Merged and updated #7 (Enhance db-services).

  • Updated README.md (which, after adding the / handler, we could change to something else again), with how to add the bot to your Discord server, including the permissions (that I think) it needs.

  • No longer catch exceptions for critical failures (closes #6 (closed))

Merge request reports

Loading