/twitter-bot

Twitter bot utilizing OpenAI's GPT-3 model

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Twitter bot logo
Twitter Bot
MyDefiPet logo

About

This python script uses Tweepy for handling Twitter API and OpenAI's GPT-3 model for providing feedback.

Prerequisites

This script requires prerequisites in order to run.

  • Python 3.7.9 or later.

How to setup

  • Run pip install -r requirements.txt to install all dependencies
  • Configure the access tokens and keys in the [twitter] and [openai] section config.ini file
  • Run python generate_user_access_token.py
  • Run python main.py
  • Leave your script open.

If you want the script to end, just press CTRL + C.

Limitations

Doesn't support direct messages yet.

Disclaimer

We are not responsible for any damages or loss upon use of this software. Use at your own risk.