The following repository contains the code of @IdePyBot a telegram bot. I'm using the following tools:
- Python 3.
- Flask, web server to manage the webhooks.
- Requests library to manage the HTTP requests to the Telegram API.
- Heroku, for app deployment.
Create a Heroku app.
Clone the repository:
git clone https://github.com/jabesga/idepybot
cd idepybot
Add the heroku remote:
heroku git:remote -a <YOUR_HEROKU_APP>
Make the modifications you wish into the code.
Push the code to the heroku dyno
git push heroku master
In your Heroku app control panel add the following config vars:
token and app_url