A not particulary useful, but funny Telegram bot using the offical ChatGPT API and python-telegram-bot. You can talk to it just like the normal API, but it will throw in cat puns and feline jokes.
- python installed on your system
- A telegram bot and an authentication token (official instructions)
- An OpenAI API key (instructions)
Copy the file .env_template
to .env
.
Add your telegram bot token and the OpenAI API access token to the .env
file.
- Run
pip install pipenv --user
- Run
pipenv shell
- Run
python main.py