Commit c6e51ea6 authored by Him188's avatar Him188

Cleanup

parent 88add06f
...@@ -2,12 +2,7 @@ ...@@ -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 { ...@@ -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] 实例
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment