Skip to content

Files

Latest commit

204c79e · Aug 25, 2020

History

History
12 lines (9 loc) · 587 Bytes

File metadata and controls

12 lines (9 loc) · 587 Bytes

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