diff --git a/backend/mirai-console/src/command/CompositeCommand.kt b/backend/mirai-console/src/command/CompositeCommand.kt index ccb8d73fd..305cbd65b 100644 --- a/backend/mirai-console/src/command/CompositeCommand.kt +++ b/backend/mirai-console/src/command/CompositeCommand.kt @@ -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 = [], ) /** 指令描述 */