/telegraf-heroku-typescript-template

Telegram bot ready to be deployed as a Heroku app

Primary LanguageTypeScriptMIT LicenseMIT

telegraf-heroku-typescript-template

Telgram bot ready to be deployed as an heroku app

Make sure you have nodejs and yarn installed first

Copy the template then just replace 'http:/your-app-name.herokuapp.com/' with your actual app url and set TOKEN enviroment variable (You can configure that on heroku as show here)

To run localy cd into the folder and run

TOKEN=<your-bot-token> yarn dev

The bot should update automatically on each change