Shamrock: support /get_prohibited_member_list

This commit is contained in:
WhiteChi 2023-11-22 23:03:20 +08:00
parent f67dfac4d9
commit ea62640057

View File

@ -18,7 +18,7 @@ internal object GetProhibitedMemberList: IActionHandler() {
): String {
val result = GroupSvc.getProhibitedMemberList(groupCode)
if (result.isFailure) {
return error(result.exceptionOrNull()?.message ?: "获取禁言列表失败", echo)
return error(result.exceptionOrNull()?.message ?: "获取禁言列表失败", echo, arrayResult = true)
}
return ok(result.getOrThrow(), echo)
}