mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-31 11:50:09 +08:00
Cleanup
This commit is contained in:
parent
88add06f8e
commit
c6e51ea6b8
@ -2,12 +2,7 @@
|
|||||||
|
|
||||||
package net.mamoe.mirai
|
package net.mamoe.mirai
|
||||||
|
|
||||||
import kotlinx.coroutines.CoroutineScope
|
|
||||||
|
|
||||||
import net.mamoe.mirai.utils.BotConfiguration
|
import net.mamoe.mirai.utils.BotConfiguration
|
||||||
import net.mamoe.mirai.utils.MiraiLogger
|
|
||||||
import kotlin.coroutines.CoroutineContext
|
|
||||||
import kotlin.coroutines.EmptyCoroutineContext
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 构造 [Bot] 的工厂.
|
* 构造 [Bot] 的工厂.
|
||||||
@ -20,7 +15,7 @@ interface BotFactory {
|
|||||||
/**
|
/**
|
||||||
* 使用指定的 [配置][configuration] 构造 [Bot] 实例
|
* 使用指定的 [配置][configuration] 构造 [Bot] 实例
|
||||||
*/
|
*/
|
||||||
fun Bot(account: BotAccount, configuration: (BotConfiguration.() -> Unit)? = null) : Bot
|
fun Bot(account: BotAccount, configuration: (BotConfiguration.() -> Unit)? = null): Bot
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 使用指定的 [配置][configuration] 构造 [Bot] 实例
|
* 使用指定的 [配置][configuration] 构造 [Bot] 实例
|
||||||
|
Loading…
Reference in New Issue
Block a user