mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-09 12:47:00 +08:00
Fix doc on BotConfiguration.inheritCoroutineContext
This commit is contained in:
parent
a8a448272d
commit
0dbb448cad
@ -119,7 +119,7 @@ public open class BotConfiguration { // open for Java
|
||||
* val bot = Bot() {
|
||||
* inheritCoroutineContext()
|
||||
* }
|
||||
* bot.subscribe { ... }
|
||||
* bot.eventChannel.subscribe { ... }
|
||||
*
|
||||
* // 主线程不会退出, 直到 Bot 离线.
|
||||
* }
|
||||
|
Loading…
Reference in New Issue
Block a user