def highest_role_position(arr: list):
    """
    Function that takes in an array of discord Roles and return the int of the highest position from all those roles

    Parameters
    ----------
    arr: list
        the array of discord roles

    Returns
    -------
    int
        the highest position found within the array of discord roles
    """
    ret = 0
    for i in arr:
        if i.position > ret:
            ret = i.position

    return ret