checkOnline

@ConfigurationValue(path = "botcommands.application.cache.checkOnline", defaultValue = "false")
abstract val checkOnline: Boolean(source)

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 each machine doesn't have the same shards.

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

Default: false

Spring property: botcommands.application.cache.checkOnline