diff --git a/src/main/java/ao/sh1rocu/mirai/bcr/BCRMain.java b/src/main/java/ao/sh1rocu/mirai/bcr/BCRMain.java index f9ffa7d..0e977b4 100644 --- a/src/main/java/ao/sh1rocu/mirai/bcr/BCRMain.java +++ b/src/main/java/ao/sh1rocu/mirai/bcr/BCRMain.java @@ -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.