mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-24 15:00:38 +08:00
Fix botPermission
This commit is contained in:
parent
e32b0a6d8f
commit
125f53a72e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user