Commit 2a82fe6b authored by jiahua.liu's avatar jiahua.liu

Pure mode supported

parent 7bb482de
...@@ -80,6 +80,9 @@ object MiraiConsole { ...@@ -80,6 +80,9 @@ object MiraiConsole {
fun stop() { fun stop() {
PluginManager.disableAllPlugins() PluginManager.disableAllPlugins()
bots.forEach {
it.get()?.close()
}
} }
object HTTPAPIAdaptar { object HTTPAPIAdaptar {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment