mirai-core / net.mamoe.mirai.contact / isAdministrator

isAdministrator

fun MemberPermission.isAdministrator(): Boolean
fun Member.isAdministrator(): Boolean

判断权限是否为管理员