mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 05:12:17 +00:00
Shamrock
: support /get_prohibited_member_list
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user