Alt Text

Show parent replies
i woke up in kasey's bed at 3am and decided it was essential i play around with bsky lists and omfg its so much fun
you've all been added to meow4 btw
def add_follows_to_list():
    session = get_session()
    did = session['did']
    service_endpoint = get_service_endpoint(did)
    lists = get_lists(did)
    display_lists(lists)
    selected_list = select_list(lists)

    follows = get_follows(did)
    for i in range(len(follows)):
        add_user_to_list(session, service_endpoint, selected_list, follows[i]['value']['subject'])

    update_list_metadata(session, service_endpoint, selected_list, name=selected_list['name'], description=f"Last updated {datetime.now(timezone.utc).isoformat().replace("+00:00", "Z")}")

    print()
    _, _, rkey = decompose_uri(selected_list['uri'])
    print(f"All followers successfully added to https://bsky.app/profile/{session.get('handle')}/lists/{rkey}")