This commit is contained in:
Karlatemp 2020-06-20 21:16:06 +08:00
parent 9c1b937aaf
commit 6afa6af4a1
No known key found for this signature in database
GPG Key ID: 21FBDDF664FF06F8

View File

@ -18,8 +18,9 @@ object TestCompositeCommand : CompositeCommand(
"groupManagement", "grpMgn" "groupManagement", "grpMgn"
) { ) {
@SubCommand @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) target.mute(seconds)
return true
} }
} }