BApplication Config Builder
Properties
Mappings between the base bundle name and the locales it supports.
Configuration of the application commands cache.
The diff engine to use when comparing old and new application commands, to determine if commands needs to be updated.
Disables autocomplete caching, unless CacheAutocomplete.forceCache is set to true
.
Whether all application commands should be registered on each guild, regardless of the command scope on the annotation.
Whether the raw JSON of the application commands should be logged when an update is required.
Whether to log a WARN
if a localization key isn't found when registering the commands.
Enables the library to compare local commands against Discord's command, to check if application commands need to be updated.
If not empty, only these guilds will have their application commands updated.
Test guilds IDs for all commands annotated with Test
Functions
Adds the specified bundle names with its locales; those bundles will be used for command localization (name, description, options, choices...).
Configures a cache for application commands, stored in the database supplied by ConnectionSupplier.
Entirely disables the application commands cache, meaning the application commands will always be updated on startup.
Configures a file-based cache for application commands, which helps avoid request to Discord as commands do not need to be updated most of the time.