Commit 848c50ae authored by Him188's avatar Him188

Remove incompatible functions

parent 1f97454b
......@@ -59,12 +59,6 @@ abstract class Bot : CoroutineScope, LowLevelBotAPIAccessor, BotJavaFriendlyAPI(
val instances: List<Bot>
get() = BotImpl.instances.asSequence().mapNotNull { it.get() }.toList()
@Deprecated("for binary compatibility", level = DeprecationLevel.HIDDEN)
@JvmStatic
internal val instancesDeprecated: List<WeakRef<Bot>>
@JvmName("instances")
get() = BotImpl.instances.toList()
/**
* 遍历每一个 [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