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) {