mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
Shamrock
: support /get_prohibited_member_list
This commit is contained in:
parent
f67dfac4d9
commit
ea62640057
@ -18,7 +18,7 @@ internal object GetProhibitedMemberList: IActionHandler() {
|
|||||||
): String {
|
): String {
|
||||||
val result = GroupSvc.getProhibitedMemberList(groupCode)
|
val result = GroupSvc.getProhibitedMemberList(groupCode)
|
||||||
if (result.isFailure) {
|
if (result.isFailure) {
|
||||||
return error(result.exceptionOrNull()?.message ?: "获取禁言列表失败", echo)
|
return error(result.exceptionOrNull()?.message ?: "获取禁言列表失败", echo, arrayResult = true)
|
||||||
}
|
}
|
||||||
return ok(result.getOrThrow(), echo)
|
return ok(result.getOrThrow(), echo)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user