A simple AFK Python Telegram bot for one chat running on python3 with an sqlalchemy database inspired by Pranaov and made by Roj.
DATABASE_URL
: your database url.CHAT_ID
: your Telegram group chat id.TOKEN
: the bot API key that Botfather generated.
- Fork this repository.
- Create your app.
- Add "Heroku Postgres" add-on to your app.
- Go to Heroku dashboard > your app name > settings > reveal config vars and add the config vars (
CHAT_ID
,TOKEN
). - Deploy your app and you are good to go.