- Python 3.6+
- Telegram Bot API token
- OpenAI API key
git clone https://github.com/darklight147/telegram-gpt-bot.git
cd telegram-gpt-bot
pip install -r requirements.txtcp .env.example .envEdit .env file and fill in your Telegram Bot API token and OpenAI API key.
python main.py
# or python3 main.pydocker build -t telegram-gpt-bot .
docker run -d --name telegram-gpt-bot telegram-gpt-bot
