mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Fix test
This commit is contained in:
parent
9c1b937aaf
commit
6afa6af4a1
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user