diff --git a/backend/mirai-console/src/test/kotlin/net/mamoe/mirai/console/command/TestComposite.kt b/backend/mirai-console/src/test/kotlin/net/mamoe/mirai/console/command/TestComposite.kt index c1cfe009f..133eb62db 100644 --- a/backend/mirai-console/src/test/kotlin/net/mamoe/mirai/console/command/TestComposite.kt +++ b/backend/mirai-console/src/test/kotlin/net/mamoe/mirai/console/command/TestComposite.kt @@ -18,8 +18,9 @@ object TestCompositeCommand : CompositeCommand( "groupManagement", "grpMgn" ) { @SubCommand - suspend fun CommandSender.mute(image: Image, target: Member, seconds: Int) { + suspend fun CommandSender.mute(image: Image, target: Member, seconds: Int): Boolean { target.mute(seconds) + return true } }