shutdownNow

abstract fun shutdownNow()(source)

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

All currently running tasks will be interrupted, and all coroutine scopes are canceled.

See also