From 3da531601fd20d3005433c9a03b4c0375252f302 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=AE=87?= <63290381+xiaoyv404@users.noreply.github.com> Date: Wed, 19 Jun 2024 18:46:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20UserAlert.kt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/com/xiaoyv404/mirai/app/UserAlert.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/xiaoyv404/mirai/app/UserAlert.kt b/src/main/kotlin/com/xiaoyv404/mirai/app/UserAlert.kt index f39a830..cd8f4f3 100644 --- a/src/main/kotlin/com/xiaoyv404/mirai/app/UserAlert.kt +++ b/src/main/kotlin/com/xiaoyv404/mirai/app/UserAlert.kt @@ -77,7 +77,7 @@ class UserAlert : NfAppMessageHandler(), IFshApp { val reply = buildMessageChain { +"${user.id}共收到${user.warningTimes}次警告" logs.forEach { - +"\n${it.executor} ${it.type.name}" + +"\n${it.executor} ${it.type.name} ${it.time}" } } println(reply)