Jump to content

Search the Community

Showing results for tags 'telegram'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Discussion
    • Website Management and Coding
    • Technology and the Internet
    • Philosophy, Politics, and Science
    • Art and Entertainment
    • Other Discussion
  • HelioHost
    • Questions
    • Customer Service
    • How You Can Help
  • HelioNet
    • News
    • Contact HelioNet

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 6 results

  1. Hello, I am hosting a Telegram bot on Johnny using the Python library it has installed, and it has been working for quite a while. However, yesterday it started consistently crashing. I'm having a hard time figuring out what's wrong, since I can't find any real error messages. One thing that I noticed, however, is that if I print out the bot object when running the script on my PC, I get "Bot[token=<my API key>]", but in Heliohost I just get "Bot()", although I imagine this might not mean anything. Has anyone else had issues with this recently?
  2. Hello, I want to host a telegram bot made in python, and I made it with the python-telegram-bot module. I found some older posts about installing python modules, and the link that was there pointing to the list of installed modules doesn't work. In case it isn't installed, would it be possible for you to do so? python-telegram-bot-raw would be enough (it has less features, but I didn't use those that don't exist in the raw module). I've also seen some posts concerning excessive loads with hosting bots. I don't think my bot would have this problem, since it doesn't interact in any way with the users (so it doesn't need to constantly probe for new messages). It just sends a message when a new event is posted on the website of a student association I belong to, and I could adjust the polling period for the site if I notice it's causing too much load. Thank you in advance
  3. Hi, I would like to ask for the installation of the python telegram bot package. cPanel username: barjoman Main domain: barjoman.heliohost.org Server: Tommy Version of python: 3.6 The package is called python-telegram-bot https://pypi.org/project/python-telegram-bot/ pip install python-telegram-bot Many Thanks, Ben
  4. Hi. I apologize in advance as I'm completely new to this. I've written a functioning Telegram Bot using the python-telegram-bot wrapper (https://pypi.org/project/python-telegram-bot/) Searching through the forums, I've found a few posts with some hints about how to get the bot to run: https://www.helionet.org/index/topic/30316-johnny-python-telegram/ https://www.helionet.org/index/topic/34304-how-to-run-a-python-script/ Unfortunately, I'm still not clear on how to get this to work. Here is what I've tried: I've created a file in the cgi-bin folder through cpanel called testbot.py into which I've copied my code. I've also added "#!/usr/bin/python3.6" to the top However, going to http://barjoman.heliohost.org/cgi-bin/testbot.py gives me a 500 error: I was also unable to get it to run through a cronjob, although I'm guessing this is because of the error above. If anyone can assist, it would be appreciated. Thanks, Ben User: barjoman Server: Tommy
  5. I have upload a .py file in cgi-bin, and i have chmod to 755. I have followed the previous post to submit corn job. /usr/bin/python3.6 /home/wonderland/cgi-bin/telegram.py but it doesn't work. and what does 5 minutes execute means. thanks.
  6. Hello. I want to host Telegram bot written in python 3 which uses long polling at Ricky server. So, I uploaded files to my public_html. I have written #!/usr/bin/python3.6 as the first line of my main file bot.py and have given 755 permission to it. So, my question is how to run my bot for ever on Heliohost? Cron jobs don't seem to be a solutiuon or I just don't understand how to use them for my case. Any answers are appreciate.
×
×
  • Create New...