caps-tv-afk-telegram-bot

A simple AFK Python Telegram bot for one chat running on python3 with an sqlalchemy database inspired by Pranaov and made by Roj.

Configuring variables

  • DATABASE_URL: your database url.
  • CHAT_ID: your Telegram group chat id.
  • TOKEN: the bot API key that Botfather generated.

Deploying to Heroku

  1. Fork this repository.
  2. Create your app.
  3. Add "Heroku Postgres" add-on to your app.
  4. Go to Heroku dashboard > your app name > settings > reveal config vars and add the config vars (CHAT_ID, TOKEN).
  5. Deploy your app and you are good to go.

💜 Heroku

Deploy