def post_message(text: str) -> str:
    """Posts a message to Bluesky.

    Args:
        text (str): The message to post.

    Returns:
        str: The message that was posted.
    """

    bluesky_username = os.getenv("BLUESKY_USERNAME")
    bluesky_app_password = os.getenv("BLUESKY_APP_PASSWORD")

    client = Client()

    try:
        client.login(bluesky_username, bluesky_app_password)
        client.send_post(text=text)
    except Exception as e:
        return f"Error! Message: {e}"

    return f"Success! Message: {text}"
Posts a message to Bluesky.

    Args:
        text (str): The message to post.

    Returns:
        str: The message that was posted.
    
src/autogpt_plugins/bluesky/bluesky_plugin/bluesky_plugin.py