mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-24 15:00:38 +08:00
Fix build
This commit is contained in:
parent
8a097bf435
commit
3f1221699d
@ -148,7 +148,9 @@ internal class OnlinePush {
|
|||||||
|
|
||||||
return BotGroupPermissionChangeEvent(
|
return BotGroupPermissionChangeEvent(
|
||||||
group,
|
group,
|
||||||
group.botPermission.also { group.botPermission = newPermission },
|
group.botPermission.also {
|
||||||
|
group.botAsMember.checkIsMemberImpl().permission = newPermission
|
||||||
|
},
|
||||||
newPermission
|
newPermission
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user