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