style: GagInfoDisclosure

This commit is contained in:
hd
2024-07-01 20:06:09 +08:00
parent 904afa9475
commit b5718d028f

View File

@@ -98,12 +98,12 @@ object GagInfoDisclosure : CommonSwitchFunctionHook(
when (victimUin) {
"0" -> {
if (opUin == selfUin) builder.appendUserItem(selfUin, "") else builder.appendUserItem(opUin, "$opName")
builder.appendText(if (victimTime == 0L) " 关闭了全员禁言 " else " 开启了全员禁言 ")
builder.appendText(if (victimTime == 0L) "关闭了全员禁言" else "开启了全员禁言")
}
selfUin -> {
builder.appendUserItem(selfUin, "")
builder.appendText("")
builder.appendText("")
builder.appendUserItem(opUin, "$opName")
builder.appendText(if (victimTime == 0L) "解除禁言" else "禁言${getSecStr(victimTime)}")
}