mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-09 18:00:33 +08:00
Change to @JvmStatic
This commit is contained in:
parent
e42f925b2c
commit
07b9cf32b1
@ -7,7 +7,7 @@ import net.mamoe.mirai.Bot
|
|||||||
import net.mamoe.mirai.network.protocol.tim.packet.login.TouchPacket.TouchResponse
|
import net.mamoe.mirai.network.protocol.tim.packet.login.TouchPacket.TouchResponse
|
||||||
import kotlin.coroutines.CoroutineContext
|
import kotlin.coroutines.CoroutineContext
|
||||||
import kotlin.coroutines.coroutineContext
|
import kotlin.coroutines.coroutineContext
|
||||||
import kotlin.jvm.JvmField
|
import kotlin.jvm.JvmStatic
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 验证码处理器. 需挂起(阻塞)直到处理完成验证码.
|
* 验证码处理器. 需挂起(阻塞)直到处理完成验证码.
|
||||||
@ -69,7 +69,7 @@ class BotConfiguration : CoroutineContext.Element {
|
|||||||
/**
|
/**
|
||||||
* 默认的配置实例
|
* 默认的配置实例
|
||||||
*/
|
*/
|
||||||
@JvmField
|
@JvmStatic
|
||||||
val Default = BotConfiguration()
|
val Default = BotConfiguration()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user