enableShutdownHook

@ConfigurationValue(path = "botcommands.core.enableShutdownHook", defaultValue = "true")
abstract val enableShutdownHook: Boolean(source)

Whether to use a shutdown hook to call BContext.shutdownNow when the JVM is exiting gracefully.

If disabled you'll have to shut it down yourself.

Default: true

Spring property: botcommands.core.enableShutdownHook