Skip to content

Latest commit

History

History
25 lines (17 loc) 路 512 Bytes

README.md

File metadata and controls

25 lines (17 loc) 路 512 Bytes

Telegram Bot Boilerplate

Telegram Bot Boilerplate based on Node.js and Telegraf framework.

Before you start

First rename .env-sample file to .env and fill in all necessary values.

BOT_TOKEN="<YOUR_BOT_API_TOKEN>"
USERNAME="<YOUR_BOT_USERNAME>"
WEBHOOK_URL="<THE_URL_OF_YOUR_WEBHOOK>"
PORT="<PORT>"

For deployment just create .env.prod with your production values.

Start your server

yarn install
yarn dev

Pull Requests are welcomed :)