Commit 9058efe4 authored by jiahua.liu's avatar jiahua.liu

rename console

parent a5eb48ec
......@@ -10,7 +10,7 @@ apply(plugin = "com.github.johnrengelman.shadow")
tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar>() {
manifest {
attributes["Main-Class"] = "net.mamoe.mirai.MiraiConsoleLoader"
attributes["Main-Class"] = "net.mamoe.mirai.console.MiraiConsoleLoader"
}
}
......
......@@ -63,12 +63,11 @@ object MiraiConsole {
logger("Mirai为开源项目,请自觉遵守开源项目协议")
logger("Powered by Mamoe Technologies and contributors")
runBlocking {
DefaultCommands()
HTTPAPIAdaptar()
pluginManager.loadPlugins()
CommandListener.start()
}
DefaultCommands()
HTTPAPIAdaptar()
pluginManager.loadPlugins()
CommandListener.start()
logger("Mirai-console 启动完成")
logger("\"/login qqnumber qqpassword \" to login a bot")
......
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