Properties
Link copied to clipboard
@ConfigurationValue(path = "jda.devtools.enabled", defaultValue = "true")
@DeprecatedValue(reason = "Replaced by the built-in shutdown hook", replacement = "botcommands.core.enableShutdownHook")
When Spring devtools are enabled, enables shutting down JDA when the IoC container closes.
Link copied to clipboard
@DeprecatedValue(reason = "For removal, shutdown is always forced")
@ConfigurationValue(path = "jda.devtools.shutdownTimeout", type = "java.time.Duration", defaultValue = "10s")
Time to wait until JDA needs to be forcefully shut down, in other words, this is the allowed time for a graceful shutdown.