Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 433 Bytes

Readme.md

File metadata and controls

10 lines (8 loc) · 433 Bytes

This is a simple example of how to make your own GPT telegram bot.

Requirements

  1. Rename .env.example to .env
  2. You should create a bot using BotFather and get a token. Then you should put the token in the .evn file
  3. Go to https://beta.openai.com/ and create an account. Then you should get an API key and put it in the .env file

How to run

  1. Install the dependencies using npm install
  2. Run the bot using npm start