mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-13 06:30:13 +08:00
solve #18
This commit is contained in:
parent
9e77b7b7c5
commit
51648fd69b
@ -2,7 +2,7 @@
|
||||
kotlin.code.style=official
|
||||
# config
|
||||
miraiVersion=0.29.0
|
||||
miraiConsoleVersion=0.3.4
|
||||
miraiConsoleVersion=0.3.6
|
||||
miraiConsoleWrapperVersion=0.1.3
|
||||
kotlin.incremental.multiplatform=true
|
||||
kotlin.parallel.tasks.in.project=true
|
||||
|
@ -47,7 +47,7 @@ internal suspend inline fun HttpClient.downloadRequest(url: String): ByteReadCha
|
||||
}
|
||||
}
|
||||
|
||||
private val jcenterPath = "https://jcenter.bintray.com/{group}/{project}/{version}/:{project}-{version}.{extension}"
|
||||
private val jcenterPath = "https://jcenter.bintray.com/{group}/{project}/{version}/{project}-{version}.{extension}"
|
||||
private val aliyunPath =
|
||||
"https://maven.aliyun.com/nexus/content/repositories/jcenter/{group}/{project}/{version}/{project}-{version}.{extension}"
|
||||
|
||||
|
@ -65,6 +65,7 @@ internal inline fun registerConsoleCommands(builder: CommandBuilder.() -> Unit):
|
||||
return CommandBuilder().apply(builder).register(ConsoleCommandOwner)
|
||||
}
|
||||
|
||||
|
||||
inline fun PluginBase.registerCommand(builder: CommandBuilder.() -> Unit):Command{
|
||||
return CommandBuilder().apply(builder).register(this.asCommandOwner())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user