- 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.txt
cp .env.example .env
Edit .env
file and fill in your Telegram Bot API token and OpenAI API key.
python main.py
# or python3 main.py
docker build -t telegram-gpt-bot .
docker run -d --name telegram-gpt-bot telegram-gpt-bot