Skip to content

Commit

Permalink
2024/12/16 添加离开群聊的触发词[quit]
Browse files Browse the repository at this point in the history
  • Loading branch information
haishen668 committed Dec 16, 2024
1 parent 869c35a commit b007940
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b007940

Please sign in to comment.