enableShutdownHook

open override var 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