mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 02:20:14 +08:00
Add docs
This commit is contained in:
parent
357e7d7767
commit
f1a5bc05ea
@ -49,6 +49,8 @@ abstract class BotNetworkHandler : CoroutineScope {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 初始化获取好友列表等值.
|
* 初始化获取好友列表等值.
|
||||||
|
*
|
||||||
|
* 不要使用这个 API. 它会在登录完成后被自动调用.
|
||||||
*/
|
*/
|
||||||
@MiraiInternalAPI
|
@MiraiInternalAPI
|
||||||
open suspend fun init() {
|
open suspend fun init() {
|
||||||
|
@ -20,7 +20,14 @@ internal val factory: BotFactory = run {
|
|||||||
No BotFactory found. Please ensure that you've added dependency of protocol modules.
|
No BotFactory found. Please ensure that you've added dependency of protocol modules.
|
||||||
Available modules:
|
Available modules:
|
||||||
- net.mamoe:mirai-core-timpc
|
- net.mamoe:mirai-core-timpc
|
||||||
|
- net.mamoe:mirai-core-qqandroid (recommended)
|
||||||
You should have at lease one protocol module installed.
|
You should have at lease one protocol module installed.
|
||||||
|
-------------------------------------------------------
|
||||||
|
找不到 BotFactory. 请确保你依赖了至少一个协议模块.
|
||||||
|
可用的协议模块:
|
||||||
|
- net.mamoe:mirai-core-timpc
|
||||||
|
- net.mamoe:mirai-core-qqandroid (推荐)
|
||||||
|
请添加上述任一模块的依赖(与 mirai-core 版本相同)
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user