YogaSakti / logger-telebot

Personal telegram bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Telegram Bot coded in NodeJS hosted at Heroku

Sample files to run a Telegram Bot with Heroku without dyno sleeping.

Requirements

References


Make sure to run npm install before commiting your bot to Heroku.


Prevent Dyno sleeping

By default, Heroku apps sleep after 1 hour of inactivity. This can be prevented by running the app as a worker dyno instead of a web dyno. This is already set on the Procfile, but make sure this is also true on your dashboard.

  1. Go to your [Heroku dashboard]

  2. Resources tab

Resources Tab

  1. Check worker, uncheck web (if it's checked)

Check worker, uncheck web

About

Personal telegram bot


Languages

Language:JavaScript 100.0%