From b0079406f87ac8cf8572f8b14043fce09b3fdada Mon Sep 17 00:00:00 2001 From: haishen668 <2821396723@qq.com> Date: Mon, 16 Dec 2024 10:37:24 +0800 Subject: [PATCH] =?UTF-8?q?2024/12/16=20=E6=B7=BB=E5=8A=A0=E7=A6=BB?= =?UTF-8?q?=E5=BC=80=E7=BE=A4=E8=81=8A=E7=9A=84=E8=A7=A6=E5=8F=91=E8=AF=8D?= =?UTF-8?q?[quit]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xinxincustommessage/listeners/MessageListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ltd/dreamcraft/xinxincustommessage/listeners/MessageListener.java b/src/main/java/ltd/dreamcraft/xinxincustommessage/listeners/MessageListener.java index 7b642cb..d505835 100644 --- a/src/main/java/ltd/dreamcraft/xinxincustommessage/listeners/MessageListener.java +++ b/src/main/java/ltd/dreamcraft/xinxincustommessage/listeners/MessageListener.java @@ -37,7 +37,7 @@ public void onGroupMemberIncrease(GroupUserChangesEvent event) { if ((customMessage.groups.isEmpty() || customMessage.groups.contains(event.getGroup_id())) && - "[leave]".equalsIgnoreCase(customMessage.trigger) + ("[leave]".equalsIgnoreCase(customMessage.trigger) || "[quit]".equalsIgnoreCase(customMessage.trigger)) && !event.isIncrease()) { String bindPlayerName = BotBind.getBindPlayerName(String.valueOf(event.getUser_id())); if (customMessage.unbind_messages.isEmpty() || bindPlayerName != null) {