enabled

@ConfigurationValue(path = "jda.devtools.enabled", defaultValue = "true")
@DeprecatedValue(reason = "Replaced by the built-in shutdown hook", replacement = "botcommands.core.enableShutdownHook")
val enabled: Boolean(source)

Deprecated

Replaced by the built-in shutdown hook

When Spring devtools are enabled, enables shutting down JDA when the IoC container closes.

If you disable this, you must shut down JDA manually, not doing so will let old instances run, receive events and cause unwanted behavior.

Default: true