This is a simple example of how to make your own GPT telegram bot.
- Rename .env.example to .env
- You should create a bot using BotFather and get a token. Then you should put the token in the .evn file
- Go to https://beta.openai.com/ and create an account. Then you should get an API key and put it in the .env file
- Install the dependencies using
npm install
- Run the bot using
npm start