Fix botPermission

This commit is contained in:
Him188 2020-04-10 23:38:37 +08:00
parent e32b0a6d8f
commit 125f53a72e

View File

@ -74,7 +74,7 @@ internal class GroupImpl(
override lateinit var botAsMember: Member
override lateinit var botPermission: MemberPermission
override val botPermission: MemberPermission get() = botAsMember.permission
// e.g. 600
override val botMuteRemaining: Int get() = botAsMember.muteTimeRemaining