Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.26 KB

File metadata and controls

39 lines (26 loc) · 1.26 KB

Telegram Bot

Cool project for fun!! — This Smart Telegram Bot is built using Telegraf.js, Express.js (for webhook) and connected with OpenAI API (ChatGPT). Are you new to Telegram bot? read the official introduction for Developers written by the Telegram team.

Create a new bot with @BotFather and join OpenAI for API key.

Getting Started

$ git clone https://github.com/febriadj/telegram-bot.git

Clone and open this repository in your IDE or text editor.

$ mv .env.example .env

Rename the .env.example file to .env and complete the required "environment variables".

$ npm install
$ npm run prepare && npm run build
$ npm start

See more commands in package.json.

(Back to top)