From 686d7577c6c9b9e49953e3baf2ab095b247e31b9 Mon Sep 17 00:00:00 2001 From: Anders <44516212+Anders233@users.noreply.github.com> Date: Sat, 11 Apr 2020 13:37:02 +0800 Subject: [PATCH 1/2] Update BotEvents.kt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将注释: 机器人被邀请加入群 更改为: 一个账号请求加入群事件 --- .../kotlin/net.mamoe.mirai/event/events/BotEvents.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/events/BotEvents.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/events/BotEvents.kt index 174f3fe4d..77d808610 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/events/BotEvents.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/events/BotEvents.kt @@ -594,7 +594,7 @@ data class NewFriendRequestEvent( } /** - * 机器人被邀请加入群 + * 一个账号请求加入群事件 */ @SinceMirai("0.35.0") data class MemberJoinRequestEvent( @@ -650,4 +650,4 @@ data class MemberJoinRequestEvent( runBlocking { bot.ignoreMemberJoinRequest(this@MemberJoinRequestEvent, blackList) } } -// endregion 好友、群认证 \ No newline at end of file +// endregion 好友、群认证 From d3b52732d7422a82310025dd3245e654f65ad46f Mon Sep 17 00:00:00 2001 From: Anders <44516212+Anders233@users.noreply.github.com> Date: Sat, 11 Apr 2020 13:57:23 +0800 Subject: [PATCH 2/2] Update BotEvents.kt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "入群申请消息"更改为"申请好友消息" --- .../commonMain/kotlin/net.mamoe.mirai/event/events/BotEvents.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/events/BotEvents.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/events/BotEvents.kt index 77d808610..8039c7cd2 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/events/BotEvents.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/events/BotEvents.kt @@ -551,7 +551,7 @@ data class NewFriendRequestEvent( */ val eventId: Long, /** - * 入群申请消息 + * 申请好友消息 */ val message: String, /**