diff --git a/src/main/kotlin/xyz/cssxsh/mirai/plugin/MiraiAutoApprover.kt b/src/main/kotlin/xyz/cssxsh/mirai/plugin/MiraiAutoApprover.kt index 08a567f..3283548 100644 --- a/src/main/kotlin/xyz/cssxsh/mirai/plugin/MiraiAutoApprover.kt +++ b/src/main/kotlin/xyz/cssxsh/mirai/plugin/MiraiAutoApprover.kt @@ -23,7 +23,7 @@ public object MiraiAutoApprover : FriendApprover, GroupApprover, MemberApprover, override suspend fun approve(event: MemberJoinRequestEvent): ApproveResult { AdminRequestEventData += event - event.bot.owner().sendMessage(message = event.render(accept = autoGroupAccept)) + event.bot.owner().sendMessage(message = event.render(accept = autoMemberAccept)) return if (autoMemberAccept) ApproveResult.Accept else ApproveResult.Ignore }