mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-02 04:30:25 +08:00
Remove incompatible functions
This commit is contained in:
parent
1f97454b37
commit
848c50ae9d
@ -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] 实例
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user