- Generate your Telegram bot token at https://t.me/BotFather
- Generate OpenAI API key at https://platform.openai.com/account/api-keys
- Create
.env
file in the root directory - Add variable named
TELEGRAM_BOT_TOKEN
andOPENAI_API_KEY
inside of.env
file, and then put your Telegram bot token and OpenAI API key as its value - Run
go get
to install required modules - Make sure to assign execute permission to
start.sh
file - Run
start.sh
If you want, you can rebuild the whole source code 😂