Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
del
Browse files Browse the repository at this point in the history
  • Loading branch information
Sh1roCu committed Apr 22, 2022
1 parent cb435b4 commit 25c4591
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main/java/ao/sh1rocu/mirai/bcr/BCRMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,7 @@ public void onEnable() {
getLogger().info("插件加载完成...");
GlobalEventChannel.INSTANCE.subscribeAlways(GroupMessageEvent.class, new MyGroupMessageEvent());
GlobalEventChannel.INSTANCE.subscribeAlways(UserMessageEvent.class, new MyUserMessageEvent());
GlobalEventChannel.INSTANCE.subscribeAlways(BotInvitedJoinGroupRequestEvent.class, event -> {
event.accept();
getLogger().info("已自动同意入群邀请");
});
}
}

/**
* Create UPer face cache file.
Expand Down

0 comments on commit 25c4591

Please sign in to comment.