From 6094637f03a0fdd864449f1da5b7052b7c713da8 Mon Sep 17 00:00:00 2001 From: YehowahLiu Date: Fri, 15 Apr 2022 16:44:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=81=BF=E5=85=8D=E5=93=8D=E5=BA=94bot?= =?UTF-8?q?=E5=B8=90=E5=8F=B7=E7=9A=84=E6=88=B3=E4=B8=80=E6=88=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/top/jie65535/jnr/JNudgeReply.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/top/jie65535/jnr/JNudgeReply.kt b/src/main/kotlin/top/jie65535/jnr/JNudgeReply.kt index 24e63a5..5d8aece 100644 --- a/src/main/kotlin/top/jie65535/jnr/JNudgeReply.kt +++ b/src/main/kotlin/top/jie65535/jnr/JNudgeReply.kt @@ -30,7 +30,7 @@ object JNudgeReply : KotlinPlugin( JNRCommand.register() Random.nextInt() globalEventChannel().subscribeAlways(priority = JNRPluginConfig.priority) { - if (target.id == bot.id && JNRPluginConfig.replyMessageList.isNotEmpty()) { + if (target.id == bot.id && target.id != from.id && JNRPluginConfig.replyMessageList.isNotEmpty()) { val replyList = if(subject is Group){ JNRPluginConfig.replyMessageList }else{