shutdown

abstract fun shutdown()(source)

Shuts down this instance of BotCommands, shutting down JDA in the process, then shutting down all executors.

All currently running tasks will not be interrupted, unless shutdownNow is called.

See also