Properties

Link copied to clipboard
@ConfigurationValue(path = "botcommands.application.cache.checkOnline", defaultValue = "false")
abstract val checkOnline: Boolean

Enables the library to compare local commands against Discord's command, to check if application commands need to be updated.

Link copied to clipboard
@ConfigurationValue(path = "botcommands.application.cache.diffEngine", defaultValue = "new")
abstract val diffEngine: DiffEngine

The diff engine to use when comparing old and new application commands, to determine if commands needs to be updated.

Link copied to clipboard
@ConfigurationValue(path = "botcommands.application.cache.logDataIf", defaultValue = "never")
abstract val logDataIf: ApplicationCommandsCacheConfig.LogDataIf

Whether the raw JSON of the application commands should be logged on TRACE when the condition is met.