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 c5dca664e..bab878901 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/BotHelper.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/BotHelper.kt @@ -18,7 +18,7 @@ import kotlin.jvm.JvmName * * @throws LoginFailedException */ -suspend inline fun Bot.alsoLogin(): Bot = also { login() } +suspend inline fun B.alsoLogin(): B = also { login() } /** * 取得机器人的 QQ 号