Skip to content

YogaSakti/logger-telebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages