Hosting Python Telegram Bot on Heroku for FREE

Hosting on Heroku – Hosting Python Telegram Bot on Heroku for FREE


Hosting Python Telegram Bot on Heroku for FREE

Hosting on Heroku

Thanks again for watching. If you do not understand something shown in the video, please feel free to comment down below or message me on telegram at @tgcode. Constructive criticism is appreciated.

Here are some links for the topics discussed in the video:
– The github repository from which the code was taken – (feel free to star)
– Why do we need virtual environments and how to set one up by Corey Schafer –
– What is “if __name__ == “__main__” as explained by Corey Schafer –
– Different ways of getting updates in Telegram –
– How to install Git –
– A step-by-step guide to Git –

you search:

Hosting on Heroku

Hosting Python Telegram Bot on Heroku for FREE

42 thoughts on “Hosting on Heroku – Hosting Python Telegram Bot on Heroku for FREE

  1. I tried menubuilder and at a certain point it told me to pay for extra messages or other bot…After a long way journey i ended up here …. dont get me wrong Tech Mind your video is so much appreciated for a lot of people , but i swear you were talking Alien for me … so i dont want to use any bots anymore.

  2. I am tremendously grateful for your Python Telegram Bot videos. :> They are truly helpful and my 2 bots (hope there will be more hehe) would not have been possible without your help. THANKS A MILLION TECH MIND!

  3. everything works except once heroku runs iget this on heroku log

    2020-04-17T08:08:30.957914+00:00 app[web.1]: Traceback (most recent call last):

    2020-04-17T08:08:30.957933+00:00 app[web.1]: File "Humo.py", line 9, in <module>

    2020-04-17T08:08:30.958063+00:00 app[web.1]: from telegram import bot

    2020-04-17T08:08:30.958063+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/bot.py", line 39, in <module>

    2020-04-17T08:08:30.958197+00:00 app[web.1]: from telegram import (User, Message, Update, Chat, ChatMember, UserProfilePhotos, File,

    2020-04-17T08:08:30.958206+00:00 app[web.1]: ImportError: cannot import name 'User'

  4. Thank you so much for sharing! It works beautifully! Btw can you add a comment about "git init" as I was following step by step and I wasn't able to git add . because of one missing step. Just think that it will be useful for newbies like me. Thanks again!

  5. I am following your tutorial, in the end the logs is same as yours, but why my bot not running well? when I text /start, it doenst happen anything, how to check where the error?

  6. Thanks a lot but I have 1 problem it worked for the first time. Now I restarted my system and checked on heroku I can see that my .py is in running status but the bot is not working

  7. Hello Komron,
    thank you for your good videos.
    I have a question: Is it possible to code a script to delete messages after x hour from a private channel ? i spent many days on it, but i didn´t get it work.
    Maybe you have a solution for this.

    best regards

  8. Видео появилось всего на день позже после того как я таки задеплоил бота на хероку. Но в любом случае интересно было сравнить подход. Полезное видео

Leave a Reply

Your email address will not be published. Required fields are marked *