Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 327 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 327 Bytes

go-chatgpt-telegram-bot

Usage

export TELEGRAM_BOT_TOKEN=
export OPENAI_API_KEY=

# whitelist
export BOT_WHITELIST=

# use redis to store data
export STORE_TYPE=redis
export REDIS_HOST=localhost
export REDIS_PORT=6379
export REDIS_PASSWORD=
export REDIS_DB=0

go run ./cmd