mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Fix doc
This commit is contained in:
parent
bbf36e164d
commit
f657590328
@ -103,8 +103,7 @@ public interface MiraiConsole : CoroutineScope {
|
||||
* 调用 [Bot.login] 可登录.
|
||||
*
|
||||
* @see Bot.botInstances 获取现有 [Bot] 实例列表
|
||||
*
|
||||
* @see BotConfigurationAl
|
||||
* @see BotConfigurationAlterer ExtensionPoint
|
||||
*/
|
||||
// don't static
|
||||
@ConsoleExperimentalAPI("This is a low-level API and might be removed in the future.")
|
||||
@ -117,6 +116,7 @@ public interface MiraiConsole : CoroutineScope {
|
||||
* 调用 [Bot.login] 可登录.
|
||||
*
|
||||
* @see Bot.botInstances 获取现有 [Bot] 实例列表
|
||||
* @see BotConfigurationAlterer ExtensionPoint
|
||||
*/
|
||||
@ConsoleExperimentalAPI("This is a low-level API and might be removed in the future.")
|
||||
public fun addBot(id: Long, password: ByteArray, configuration: BotConfiguration.() -> Unit = {}): Bot =
|
||||
|
Loading…
Reference in New Issue
Block a user