mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-08 01:00:13 +08:00
Mirai Console
This commit is contained in:
parent
b5fcc6e872
commit
26fc61dffa
@ -27,7 +27,7 @@ object MiraiConsole {
|
|||||||
|
|
||||||
var path: String = System.getProperty("user.dir")
|
var path: String = System.getProperty("user.dir")
|
||||||
|
|
||||||
val version = " 0.13"
|
val version = "0.13"
|
||||||
val build = "Beta"
|
val build = "Beta"
|
||||||
|
|
||||||
fun start() {
|
fun start() {
|
||||||
@ -42,13 +42,13 @@ object MiraiConsole {
|
|||||||
logger("Mirai为开源项目,请自觉遵守开源项目协议")
|
logger("Mirai为开源项目,请自觉遵守开源项目协议")
|
||||||
logger("Powered by Mamoe Technology")
|
logger("Powered by Mamoe Technology")
|
||||||
logger()
|
logger()
|
||||||
logger("\"/login qqnumber qqpassword \" to login a bot")
|
|
||||||
logger("\"/login qq号 qq密码 \" 来登陆一个BOT")
|
|
||||||
|
|
||||||
CommandManager.register(DefaultCommands.DefaultLoginCommand())
|
CommandManager.register(DefaultCommands.DefaultLoginCommand())
|
||||||
pluginManager.loadPlugins()
|
pluginManager.loadPlugins()
|
||||||
CommandListener.start()
|
CommandListener.start()
|
||||||
println(MiraiProperties.HTTP_API_ENABLE)
|
println(MiraiProperties.HTTP_API_ENABLE)
|
||||||
|
logger("\"/login qqnumber qqpassword \" to login a bot")
|
||||||
|
logger("\"/login qq号 qq密码 \" 来登陆一个BOT")
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun stop() {
|
fun stop() {
|
||||||
|
Loading…
Reference in New Issue
Block a user