rename console

This commit is contained in:
jiahua.liu 2020-02-16 01:17:30 +08:00
parent a5eb48ec88
commit 9058efe41e
2 changed files with 6 additions and 7 deletions

View File

@ -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"
}
}

View File

@ -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")