Search the Community
Showing results for tags 'bot'.
-
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
-
Hello, discord.py library started causing errors for everyone. It seems the only solution is to update library. I'm using Tommy server right now. Relevant thread: https://stackoverflow.com/questions/63027848/discord-py-glitch-or-random-error-typeerror-new-got-an-unexpected-keywor Error: (...) TypeError: __new__() got an unexpected keyword argument 'deny_new'
- 1 reply
-
- discord.py
- discord
-
(and 1 more)
Tagged with:
-
Hello, Discord bots written in python using discord.py module (idk what about other technologies) stopped working on 30 May - both on local PCs and on your hosting too - because of some certificate expiration. Solution for local Windows PCs is to start Internet Explorer as administrator, go to discord.com and install some certificate using lock icon on address bar. I have no idea how to fix this on a linux server though. Here's one of stackoverflow posts: https://stackoverflow.com/questions/62102897/certifacte-verify-failed-certificate-has-expired-ssl-c1108 Error text: raise ClientConnectorCertificateError( aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host discordapp.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1108)')] Here's article found by @sohamb03 on your discord server that might help: https://www.namecheap.com/support/knowledgebase/article.aspx/10228/14/sectigo-root-certificate-expiring-may-30-2020 I don't know if this helps, but in other stackoverflow post I found this without explanation:
- 5 replies
-
- discord
- discord.py
-
(and 2 more)
Tagged with:
-
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
-
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
-
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.
-
Hey! I am wondering why I haven't been able to register to Stevie, even after many days of trying. When it becomes midnight, the form becomes avaivable and I fill it out, then I press Send, either it says "Registration Limit reahed..." or some other error message, and after a few minutes, usually 1-3min the registration page closes because the daily registration limit has been reached. I have come to think that could spam bots be bypassing the CAPTCHA, or is Stevie just so wanted? I tried Johnny for my website, despite the warning, and it is utterly slow and have decided to delete it, if I'd get the lucky chance to register on Stevie in the coming days! Hope to hear from you people soon, Arttu