From 265a431b7f9e43d21f205c290cde2ad81fc986c9 Mon Sep 17 00:00:00 2001 From: Him188 Date: Thu, 28 Nov 2019 12:08:35 +0800 Subject: [PATCH] Fix wrong doc --- .../src/commonMain/kotlin/net.mamoe.mirai/BotHelper.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/BotHelper.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/BotHelper.kt index c61ad87a1..19954e752 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/BotHelper.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/BotHelper.kt @@ -10,7 +10,6 @@ import net.mamoe.mirai.network.BotSession import net.mamoe.mirai.network.protocol.tim.packet.OutgoingPacket import net.mamoe.mirai.network.protocol.tim.packet.login.LoginResult import net.mamoe.mirai.network.protocol.tim.packet.login.requireSuccess -import net.mamoe.mirai.network.session import net.mamoe.mirai.utils.BotConfiguration import net.mamoe.mirai.utils.internal.PositiveNumbers import net.mamoe.mirai.utils.internal.coerceAtLeastOrFail @@ -36,12 +35,12 @@ suspend inline fun Bot.getGroup(id: GroupId): Group = this.contacts.getGroup(id) suspend inline fun Bot.getGroup(internalId: GroupInternalId): Group = this.contacts.getGroup(internalId) /** - * 取得机器人的群成员列表 + * 取得群列表 */ inline val Bot.groups: ContactList get() = this.contacts.groups /** - * 取得机器人的好友列表 + * 取得好友列表 */ inline val Bot.qqs: ContactList get() = this.contacts.qqs