def check_change_bot_full_name(user_profile: UserProfile, full_name_raw: str, acting_user: UserProfile) -> None:
    new_full_name = check_full_name(full_name_raw)
    if (new_full_name == user_profile.full_name):
        return
    check_bot_name_available(realm_id=user_profile.realm_id, full_name=new_full_name)
    do_change_full_name(user_profile, new_full_name, acting_user)
def check_change_bot_full_name(user_profile: UserProfile, full_name_raw: str, acting_user: UserProfile) -> None:
    new_full_name = check_full_name(full_name_raw)
    if (new_full_name == user_profile.full_name):
        return
    check_bot_name_available(realm_id=user_profile.realm_id, full_name=new_full_name)
    do_change_full_name(user_profile, new_full_name, acting_user)