Fix botAsMemberInitialized, fix #1848

This commit is contained in:
Him188 2022-01-22 15:03:53 +00:00
parent 52e8ecd29e
commit bd71c486bd

View File

@ -126,7 +126,7 @@ internal class GroupImpl constructor(
override lateinit var owner: NormalMemberImpl
override lateinit var botAsMember: NormalMemberImpl
internal val botAsMemberInitialized = ::botAsMember.isInitialized
internal val botAsMemberInitialized get() = ::botAsMember.isInitialized
@Suppress("DEPRECATION")
@Deprecated("Please use files instead.", replaceWith = ReplaceWith("files.root"), level = DeprecationLevel.WARNING)