/ptb-skeleton

Skeleton for complex (huge) python-telegram-bot

Primary LanguagePythonMIT LicenseMIT

ptb-skeleton

Deploy to heroku

Skeleton for python-telegram-bot In this repository you'll find a skeleton for building complex telegram bot using the python-telegram-bot library.

Things to read/know:

Things you need:

For questions regarding python-telegram-bot please use our telegram group.

Good luck

Usage

  1. Register an account on heroku.
  2. Use this template
  3. Open https://heroku.com/deploy?template=https://github.com/<your username>/<your repo name>/
  4. Fill BOT_TOKEN and APP_URL
  5. Deploy app

Next step for auto deployment from github

  1. Open heroku Dashboard
  2. Click your app name.
  3. Click Deploy
  4. Deployment method select GitHub / Connect to GitHub
  5. Search your repo-name
  6. Click Connect
  7. Choose a branch to deploy (usually main branch)
  8. Finally, Click Enable Automatic Deploy