onlineAppCommandCheckEnabled

@ConfigurationValue(path = "botcommands.application.onlineAppCommandCheckEnabled", defaultValue = "false")
@DeprecatedValue(reason = "Moved to the 'cache' prefix", replacement = "botcommands.application.cache.checkOnline")
open val onlineAppCommandCheckEnabled: Boolean(source)

Deprecated

Moved to 'checkOnline' of the 'cache' property

Replace with

cache?.checkOnline

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

The default behavior is to compare the command data to what has been locally saved, as it does not require any request, and is therefore way faster.

The issue with local checks is that you could update commands on another machine, while the other machine is not aware of it.

Which is why you should use online checks during development, but local checks in production, as they avoid requests and aren't run on multiple machines.

Note: This does not enable you to run two instances simultaneously.

Default: false

Spring property: botcommands.application.onlineAppCommandCheckEnabled