How To Host Your Bot Online 24/7 For FREE With Python (Telegram, Discord, Etc)

Поделиться
HTML-код
  • Опубликовано: 16 янв 2025

Комментарии • 207

  • @drinkyourglassofwater
    @drinkyourglassofwater 9 месяцев назад +416

    Not working anymore. They patched it. Please upvote comment to prevent others from wasting time :(

  • @FanaK-uh1hj
    @FanaK-uh1hj Год назад +20

    Youre a legend. i just created my first Bot On Telegram successfullly so.

  • @percysimpson1777
    @percysimpson1777 Год назад +135

    It is not 24x7. The bot stops after 24 hours (sometimes a bit longer maybe 2 days but it it eventually stops). Then we need to rerun the script in terminal again to restart the bot. This loop goes on. I had a bot deployed there. The bot does not stop the same time everyday, so I do not know when it will stop. I got complains from users that my bot is not running, then I would restart the bot. After few days, I moved on to other platform.

    • @Noir-Road
      @Noir-Road Год назад +19

      Which platform you ended up using ? I had the same problem and just keep restarting my bot after 2-3 days

    • @percysimpson1777
      @percysimpson1777 Год назад

      @@Noir-Road I then moved to mogenius. It's the best platform I found after Heroku had ended their free tier. But they are also ending their free tier on March 31 of this year. So, I am searching for a new platform now.

    • @Skumo
      @Skumo Год назад +5

      For the telegram bot where can l find the location of the url to post on the script???

    • @neon_Nomad
      @neon_Nomad Год назад +5

      Github?

    • @harshgoel06
      @harshgoel06 Год назад +4

      can others view your code ? , If yes how do u hide some information like tokens, passwords etc..

  • @ChandanSah-un2xg
    @ChandanSah-un2xg Год назад +10

    Right now, the bot goes offline automatically after few hours of closed tab

  • @bebaAgua_computadorNaoHidrata
    @bebaAgua_computadorNaoHidrata 10 месяцев назад +3

    This is exactly what I'm looking for! Thanks

  • @ОлегЧингал
    @ОлегЧингал Год назад +5

    Thank you, this is great! I say it's quite uneasy to get such info about telegram bot. Looking forward for any updating )))

  • @pauldrums4081
    @pauldrums4081 Год назад +6

    You've really done well bro. I love this

  • @mugudev
    @mugudev Год назад +13

    One of the Most underrated channel for python tutorials ❤❤

  • @mcbbcn
    @mcbbcn 8 месяцев назад +1

    Love your content! Thank you so much!

  • @hamdikurdi
    @hamdikurdi Год назад +2

    wow, fast , clean , understandable , and works!, TYSM

  • @ExtremlyCold
    @ExtremlyCold 8 месяцев назад +1

    thank you so much for this video!!

  • @AigerimK-f2x
    @AigerimK-f2x 11 месяцев назад +1

    I've been looking for this for so long. Your video helped me to make my telegram bot work, finally! Thank you!

    • @prakhardoneria
      @prakhardoneria 11 месяцев назад +1

      Hey I also made a bot for telegram but that stops after I closed by tab

    • @srinivaschada1575
      @srinivaschada1575 11 месяцев назад

      ​@@prakhardoneria which type of bot

    • @ter243
      @ter243 5 месяцев назад

      ​@@prakhardoneriayes same issue do you find any other way ?

  • @dolevbenhous5265
    @dolevbenhous5265 Год назад +8

    Easy to implement and works great with the bot that I made according to your tutorial.
    Very recommend.

  • @denis.chernenko
    @denis.chernenko Год назад +2

    Thank you very much for posting that video, I really needed it at the moment for a test run in real life conditions. Really appreciate your work. However, it can be only a very temporary solution ...

  • @kirkjoserey
    @kirkjoserey Год назад

    thnks!!! Its what I needed for my project

  • @wangyong2485
    @wangyong2485 6 месяцев назад

    Works fine for beginner. Thx a lot.

  • @ilova_uz
    @ilova_uz 8 месяцев назад +1

    Ohhh thanks for much ✊✊✊

  • @PascalGuimier
    @PascalGuimier Год назад +1

    Hey, thanks for the tip ! And remember to change your tg token ;)

  • @selim3291
    @selim3291 Год назад

    Thanks for the video!

  • @tejeswarachari4973
    @tejeswarachari4973 Месяц назад

    Very well dude 😉😉

  • @aminkt1742
    @aminkt1742 9 месяцев назад

    Tnx for simple explenation

  • @lhodeniz
    @lhodeniz Год назад +3

    Thank you bro. I followed your guide and my bot is working for free now. before my bot's code was uploaded in hostinger but after few weeks it stop working and needed to setup again. I hope pythonanywhere is good and bot won't stop.

    • @UnnFold
      @UnnFold Год назад +2

      After a month it stopped?

  • @dadudle
    @dadudle Год назад

    super helpful thank you👍

  • @anton7357
    @anton7357 11 месяцев назад +3

    Great video. This really helped me a lot. But for some reason I have to restart the script every day to keep the bot running. Is there any way to restart it autmatically?

  • @tsedayasrat2381
    @tsedayasrat2381 Год назад +4

    What is the installation for discord bot

  • @1smmngsupport
    @1smmngsupport 6 месяцев назад

    ❤❤❤, love this ,
    Any class for WhatsApp bot?

  • @beastrule
    @beastrule Год назад +1

    which program did you use to program the bot?

  • @AskarAlmazovich
    @AskarAlmazovich Год назад +2

    no, its not works this way bro. I have tried pythonanywhere for several times unless you switch for always task it will not be working

  • @minoprod
    @minoprod Год назад +2

    what if we host it from multiple accounts the same telegram file

    • @Indently
      @Indently  Год назад +1

      Then you will have 2 files running instead of 1

  • @FINDROBLOX
    @FINDROBLOX Год назад +8

    mine is not working im trying to do a discord bot but its not working at all it says it cant connect but idk why

    • @nsxg
      @nsxg 10 месяцев назад

      same

    • @cyn.-
      @cyn.- 8 дней назад

      do you found a fix for that?

  • @WaterboxAnalytics
    @WaterboxAnalytics 7 месяцев назад +2

    if I have secret API keys ? is it safe ? how can I hide those?

  • @fedhasayelmachew7510
    @fedhasayelmachew7510 5 месяцев назад

    Wow thank you!

  • @_TheBritGuy_
    @_TheBritGuy_ Месяц назад

    I was not paying attention until I heard python anywhere I just rushed back to the video

  • @GloberDeveloper
    @GloberDeveloper 7 месяцев назад +3

    It works only 8-10 hours only 😢😢
    Any one solve this issue

    • @ter243
      @ter243 5 месяцев назад

      How mine is working only once i have to press run button again n again

    • @singhdevesh
      @singhdevesh 5 месяцев назад

      use webhook method instead of polling method

    • @DesiCartoonsHindi
      @DesiCartoonsHindi 4 месяца назад

      😂😂😂​@@ter243

  • @GAMERICEKING
    @GAMERICEKING Год назад +1

    Thanks man,!

  • @hellohiavi
    @hellohiavi Год назад +1

    Really great brother ☺️

  • @mbegangsylvain1076
    @mbegangsylvain1076 Год назад

    You're the best 👍🏾

  • @epicone8953
    @epicone8953 Год назад +1

    What about databases? For example bot is using SQL and I need to connect it, but how in this new hoster ?

    • @systemkey1
      @systemkey1 Год назад +1

      never even seen that but good luck. I’m pretty sure it’s possible.

  • @Nabilh17
    @Nabilh17 Год назад +1

    excellent, thanks

  • @JoseLuis-rw1hg
    @JoseLuis-rw1hg Год назад

    Good video, thanks...

  • @QuranKnowledge123
    @QuranKnowledge123 11 месяцев назад +1

    *Please Give the same code* here

  • @bij_ay
    @bij_ay 10 месяцев назад +1

    Don’t know why but it is giving me errors more errors

  • @TheJackimaru
    @TheJackimaru Год назад +3

    How would you hide the Bot Token? I assume using .env files, but you would still have to upload the env file to this website

    • @oleksandrpypenko1052
      @oleksandrpypenko1052 Год назад +2

      Hi, i just uploaded a separate .env file. It says in pythonanywhere policies that only you have an access to the files you uploaded and only admins could access the files with your written permission

    • @NothingSpecial-7
      @NothingSpecial-7 Год назад

      Just regenerate it after showing it

  • @balino6734
    @balino6734 5 месяцев назад

    there is a issue when iclick on run then only my bot runs unless it dont runs if new message send in the group

  • @exbyte-dev
    @exbyte-dev Год назад +1

    this doesn't work with discord bots

  • @sizyfootball
    @sizyfootball 2 месяца назад

    yo, thanks for it, but what if i got a file message in my bot?

  • @kira-cl7qn
    @kira-cl7qn 3 месяца назад

    How many people can it handle at the same time?

  • @dibel3669
    @dibel3669 5 месяцев назад

    So uhh anyone else getting the "destination port unreachable" when pinging discord?
    Did the sitr cut support for bots?

  • @Tanjiro__Kamado
    @Tanjiro__Kamado Год назад

    my code is work locally but when i edit in pyhtonanywhere its give me error while local ones works perfectly

  • @PranathNaik
    @PranathNaik 8 месяцев назад

    How do i deploy telegram bot which is made using webhook

  • @lunar1787
    @lunar1787 9 месяцев назад +3

    this is patched

  • @biskys6718
    @biskys6718 19 дней назад

    is your code public? didnt watch the full video as im too busy to

  • @blago7daren
    @blago7daren 7 месяцев назад

    How to change visability on pythonanywhere? Are my files private by default? Can I use it as git repo and push by ssh?

  • @vxllvxn
    @vxllvxn Год назад

    wow thank you my bro

  • @mustafahamza4812
    @mustafahamza4812 6 месяцев назад

    after i open the console i cant open the bash console

  • @justecho5760
    @justecho5760 Год назад +1

    But what if my bot contains at least five files? How to run this?

    • @denis.chernenko
      @denis.chernenko Год назад +1

      Just simply upload them to the same
      /home/user/ folder, nothing complicated :)

  • @mastermanhwas
    @mastermanhwas Год назад

    I just started to run this bot now i hope this will work

  • @arulselvans8608
    @arulselvans8608 10 месяцев назад

    Can you tell me how you send the user message to pythonanywhere script? For example: I have a python script which will reverse the string, whatever given as an input, now this script is hosted in pythonanywhere so I know how to call the function from my own android application through api call but I don't know how to pass the string?

  • @UnnFold
    @UnnFold Год назад

    how much the storage? can my bot host at least 200 user and can i add video in my bot?

  • @harshgoel06
    @harshgoel06 Год назад +1

    can other users view our file and folder ?

    • @denis.chernenko
      @denis.chernenko Год назад

      Try accessing /user/your_user_name/files/home/your_user_name and you will know.

  • @Mohammed-Alsahli
    @Mohammed-Alsahli Год назад

    How to host django app? Or how to run python script in html page

  • @mastermanhwas
    @mastermanhwas Год назад

    How can we host this in raspberry pi 4 .. can you please tell us that.

  • @Pawlo370
    @Pawlo370 Год назад

    Can you show discord? Telegram isn't popular in Poland

  • @Racist112
    @Racist112 3 месяца назад

    Mon, Oct 14 it works i confirm.

  • @guanciottaman
    @guanciottaman Год назад

    Do you think this is better than replit?

    • @confusedjpg
      @confusedjpg Год назад

      I don't know about his opinion, but for certain projects it is better to use this than replit
      Otherwise replit is very good

    • @guanciottaman
      @guanciottaman Год назад

      @@confusedjpg yeah because there are also templates, a better code editor, you can share your code,...

    • @jorgezavala6984
      @jorgezavala6984 Год назад

      Replit and UptimeRobot works well, when it works. But I've found that it sometimes randomly stops. Just my personal experience

    • @jeancarlos8200
      @jeancarlos8200 Год назад

      Greetings.
      Do you know how to deploy an app in 24/7?
      Thanks in advance

    • @Shavaiz001
      @Shavaiz001 Год назад

      @@jeancarlos8200 i need an answer as well if you found out

  • @jonny9597
    @jonny9597 Год назад

    How come my bot says it can't connect to discord?

  • @julioserrano3302
    @julioserrano3302 7 месяцев назад

    Hello, good morning, can you please share the code of that bot?

  • @prakhardoneria
    @prakhardoneria 11 месяцев назад

    My bot stopped after closing tab

  • @tulasisanjay
    @tulasisanjay Год назад

    i facing connection issue how to solve

  • @Luisa_Fernanda1802
    @Luisa_Fernanda1802 Год назад

    hello, do you know of any hosting for a bot made with Node.js?

    • @Q_Coder
      @Q_Coder Год назад

      so this one is only working for Python only?

  • @Cricket_addicted7
    @Cricket_addicted7 10 месяцев назад

    I need that script which you are using

  • @Prod_Skai
    @Prod_Skai 8 месяцев назад

    it keeps saying that "install" in the bash console is incorrect syntax!! Please Help

    • @ecobuildmanagement
      @ecobuildmanagement 7 месяцев назад

      what do you write in the console?

    • @gxjznpghwktedvyoiorvgjmwudzjys
      @gxjznpghwktedvyoiorvgjmwudzjys 6 месяцев назад

      @Prod_Skai Ikyk that writing wrong code gives a syntax error;indeed, the online hosting and the batch console is going to work perfectly fine.However, if the issue continues, look that the code you had wrote is correct or not bec it is the only possible solution for it.😅
      You just encountered the issue bec of writing the wrong code.
      But I hope you might had solved the error by this time and created an amazing 'Telegram' or any other platform bot...

    • @ItsCyberHelper
      @ItsCyberHelper 2 месяца назад

      ME TOO I JUST WANNA INSTALL AIOGRAM

  • @skyisthelimpet
    @skyisthelimpet Год назад

    Thanks for the quality content. Is there a whatsapp API that I can use in the same way?

    • @gental.
      @gental. Год назад

      Im sure that typing "Whatsapp python" will get you response 100x faster

    • @skyisthelimpet
      @skyisthelimpet Год назад +1

      @@gental. Yeah i tried it. Just read my question again. I asked if there is an API for Whatsapp so i can run code on a server

    • @gental.
      @gental. Год назад

      @@skyisthelimpet Absolutly first result after typing "python whatsapp": pywhatkit. Why can't You use it?

  • @kodiq3429
    @kodiq3429 Год назад +1

    doesnt work

  • @heckerhecker8246
    @heckerhecker8246 5 месяцев назад

    it can't connect to discord-

  • @itsmalay
    @itsmalay Год назад

    it says refused to connect Telegram server using Telethon

  • @TheSingleSurvivor
    @TheSingleSurvivor Год назад

    how can I get this server to play a sound for discord bot?

  • @UnnFold
    @UnnFold Год назад +2

    hey i have 3 py file and in my main py file i import some functions from them . how can i add them too?

    • @obsidianeagle7555
      @obsidianeagle7555 Год назад

      it's easy, first you need to create a directory in dashboard(left side), after that enter the directory you made, then upload your files (right side). then run your main file

  • @Jamux69
    @Jamux69 Год назад

    Hello, how can I make discord bot work in pythoneverywhere? Im a newbie

  • @عبداللهالصياد-و4غ

    Thaaaaaaaaaaaaaaaaaaaaaaank you 🌹🌹🌹

  • @lesserfield_
    @lesserfield_ Год назад

    i got network uncreachable?

  • @Piyush-ts3vi
    @Piyush-ts3vi Год назад

    Can we use to file share bot
    Use link to get files

  • @Shavaiz001
    @Shavaiz001 Год назад

    I've got a discord bot but i have 2 files instead of one. One has the code and one has just:
    ```
    import bot
    if __name__ = "main":
    bot.run_discord_bot
    ```
    And the other has the actual code. I don't know how to run those two. And i can't run them like i do on my pc cuz it just gives me errors

    • @Trizzi2931
      @Trizzi2931 Год назад +1

      You should write like from ‘file_name’ import bot
      Just replace file name with the file you have without quotes

    • @Blockitjames
      @Blockitjames Год назад +1

      pythonanywhere doesnt let you connect to discord appaerntly

  • @Sinke_100
    @Sinke_100 Год назад

    I use render for my flask apps and APIs

  • @tulasisanjay
    @tulasisanjay Год назад

    2nd problem is database locked

  • @wuduh
    @wuduh 7 месяцев назад

    thank you

  • @MirecSVK
    @MirecSVK Год назад

    discord bot won´t start

  • @thelurker7
    @thelurker7 Год назад

    Thank you

  • @joshitoshi9835
    @joshitoshi9835 Год назад +1

    but how about telegram bot created with webhook method? where to find webhook url and set it up?

  • @tmusic1001
    @tmusic1001 Год назад

    How can I solve telegram dispatcher error?

    • @10fersen
      @10fersen Год назад +1

      While loop, with try and exception

    • @tmusic1001
      @tmusic1001 Год назад

      @@10fersen What is the dispatcher for in general

  • @carlitomaj2955
    @carlitomaj2955 Год назад

    Hi, would you mind sharing the script?

  • @kuruchin9
    @kuruchin9 Год назад +1

    24/7???? It is literally showing in your dashboard 100(!!!) seconds CPU per DAY(!!!). Absolutelly trash.

    • @Indently
      @Indently  Год назад +2

      You will rarely use more than 100 seconds of CPU per day, and after you use that it continues to work at a reduced speed.
      Thank you for your comment and have a wonderful day!

    • @carlitomaj2955
      @carlitomaj2955 Год назад +2

      Hey mate, reply? Mind sending the script?

  • @uzbtrust
    @uzbtrust Год назад

    bot work 1 or 2 days :(

  • @DiscordJuzu
    @DiscordJuzu Год назад

    Anyone knows how to add to one program more txt files? Like if i would like to do database or sth

  • @rishiraj2548
    @rishiraj2548 Год назад

    Thanks

  • @wolker604
    @wolker604 Год назад

    Change telegram token

  • @applyalone
    @applyalone Год назад

    perfect

  • @RobertLK-qm6jm
    @RobertLK-qm6jm Год назад

    Cool!

  • @mydevelop
    @mydevelop Год назад

    ❤❤❤❤❤

  • @Piyush-ts3vi
    @Piyush-ts3vi Год назад

    How to create file sharing bot through link plz made the video
    For free