mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-20 19:09:12 +08:00
rename console
This commit is contained in:
parent
a5eb48ec88
commit
9058efe41e
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user