mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Fix compilation
This commit is contained in:
parent
79136a2666
commit
6ebad54856
@ -84,13 +84,13 @@ public interface Command {
|
||||
@JvmStatic
|
||||
public val Command.primaryName: String
|
||||
get() = names[0]
|
||||
|
||||
@JvmSynthetic
|
||||
public suspend inline fun Command.onCommand(sender: CommandSender, args: MessageChain): Unit =
|
||||
sender.run { onCommand(args) }
|
||||
}
|
||||
}
|
||||
|
||||
@JvmSynthetic
|
||||
public suspend inline fun Command.onCommand(sender: CommandSender, args: MessageChain): Unit =
|
||||
sender.onCommand(args)
|
||||
|
||||
/**
|
||||
* [Command] 的基础实现
|
||||
*
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
object Versions {
|
||||
const val core = "1.2.3"
|
||||
const val console = "1.0-M4-dev-5"
|
||||
const val console = "1.0-M4-dev-7"
|
||||
const val consoleGraphical = "0.0.7"
|
||||
const val consoleTerminal = "0.1.0"
|
||||
const val consolePure = console
|
||||
|
Loading…
Reference in New Issue
Block a user