Add default value of CompositeCommand.SubCommand.value for Java

This commit is contained in:
Karlatemp 2021-02-16 23:13:27 +08:00
parent 5bf1a9755f
commit 78e8203abd
No known key found for this signature in database
GPG Key ID: 21FBDDF664FF06F8

View File

@ -121,7 +121,7 @@ public abstract class CompositeCommand(
@Retention(RUNTIME)
@Target(FUNCTION)
protected annotation class SubCommand(
@ResolveContext(COMMAND_NAME) vararg val value: String,
@ResolveContext(COMMAND_NAME) vararg val value: String = [],
)
/** 指令描述 */