def post_tweet(tweet_text: str) -> str:
    """Posts a tweet to twitter.

    Args:
        tweet (str): The tweet to post.

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

    _tweetID = plugin.api.update_status(status=tweet_text)

    return f"Success! Tweet: {_tweetID.text}"
Posts a tweet to twitter.

    Args:
        tweet (str): The tweet to post.

    Returns:
        str: The tweet that was posted.
    
src/autogpt_plugins/twitter/twitter.py