Commit 9bc982c0 authored by Him188's avatar Him188

Explicitly access property coroutineContext

parent 015c3943
......@@ -130,7 +130,7 @@ class Bot(val account: BotAccount, val logger: MiraiLogger, context: CoroutineCo
} catch (e: Exception) {
logger.error("Cannot close network handler", e)
}
network = TIMBotNetworkHandler(coroutineContext + configuration, this@Bot)
network = TIMBotNetworkHandler(this@Bot.coroutineContext + configuration, this@Bot)
return network.login()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment