This commit is contained in:
Him188 2020-01-31 22:00:38 +08:00
parent 357e7d7767
commit f1a5bc05ea
2 changed files with 9 additions and 0 deletions

View File

@ -49,6 +49,8 @@ abstract class BotNetworkHandler : CoroutineScope {
/**
* 初始化获取好友列表等值.
*
* 不要使用这个 API. 它会在登录完成后被自动调用.
*/
@MiraiInternalAPI
open suspend fun init() {

View File

@ -20,7 +20,14 @@ internal val factory: BotFactory = run {
No BotFactory found. Please ensure that you've added dependency of protocol modules.
Available modules:
- net.mamoe:mirai-core-timpc
- net.mamoe:mirai-core-qqandroid (recommended)
You should have at lease one protocol module installed.
-------------------------------------------------------
找不到 BotFactory. 请确保你依赖了至少一个协议模块.
可用的协议模块:
- net.mamoe:mirai-core-timpc
- net.mamoe:mirai-core-qqandroid (推荐)
请添加上述任一模块的依赖( mirai-core 版本相同)
""".trimIndent()
)