mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Add default value of CompositeCommand.SubCommand.value for Java
This commit is contained in:
parent
5bf1a9755f
commit
78e8203abd
@ -121,7 +121,7 @@ public abstract class CompositeCommand(
|
|||||||
@Retention(RUNTIME)
|
@Retention(RUNTIME)
|
||||||
@Target(FUNCTION)
|
@Target(FUNCTION)
|
||||||
protected annotation class SubCommand(
|
protected annotation class SubCommand(
|
||||||
@ResolveContext(COMMAND_NAME) vararg val value: String,
|
@ResolveContext(COMMAND_NAME) vararg val value: String = [],
|
||||||
)
|
)
|
||||||
|
|
||||||
/** 指令描述 */
|
/** 指令描述 */
|
||||||
|
Loading…
Reference in New Issue
Block a user