Skip to content

Cool project for fun!! This Smart Telegram Bot is built using Telegraf.js, Express, and integrated with OpenAI API (ChatGPT)

Notifications You must be signed in to change notification settings

febriadj/telegram-bot

Repository files navigation

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)

Releases

No releases published

Packages

No packages published