This is not explanatory, and I have plans to explain better in my up-coming blog. It was difficult for me to find comprehensive information for pure python apps when I wanted to deploy my bot to heroku
Follow this process: https://devcenter.heroku.com/articles/getting-started-with-python
Scale the worker process with heroku ps:scale worker=1
to keep the bot process running