10206
This group is for questions, answers and discussions around the python-telegram-bot library. Off-topic group: @pythontelegrambottalk | Website: https://python-telegram-bot.org
First rule of debugging is strip any unnecessary part
Читать полностью…
Ahh I dont use that since I have to retry the request with other proxy if it fails.
Читать полностью…
You can also put the proxy inside the ClientSession() using TCPConnector
Читать полностью…
Doesnt aiohttp session require with? I remember trying it that way years ago but it didnt work :(
Читать полностью…
But that would mean A LOT of requests get piled up that it got stuck yesterday at 17.
Читать полностью…
It may be that klipy api is getting randomly blocked by my ISP and the requests to it get stuck? I need some more logging to be sure. Aiohttp doesnt trust http_proxy env var by default according to google
Читать полностью…
i hope it's not another case of upgraded usernames giving unintended side effects
Читать полностью…
I moved this discussion to the off-topic group.
Читать полностью…
Ah I have discovered the @BotSupport account
Читать полностью…
So I worked around my issue, I think it was actually related to this issue but I managed to get to use chat data and user data instead which is probably better in any case
Читать полностью…
I'm getting this in error traceback when I close down the app
Читать полностью…
I might be able to help depending on the type of OTP bot you're looking for.
Читать полностью…
There is nothing wrong in the bot code, must be something else. Have you tried running without docker, just to see if you can replicate the problem?
Читать полностью…
trust_env variable makes it inherit http_proxy
Читать полностью…
Just put the proxy in the aiohttp client.
Also move your http session outside and just reuse it.
session = aiohttp.ClientSession()Читать полностью…
# Inside your functions since it’s reusable.
async with session.get() as resp:
return resp
Ah, looks like 5 minutes and 30 seconds on binding to socket.
Читать полностью…
Yeah but it’s 200 OK so I think the problem is in the processing.
Читать полностью…
both admins, separate groups though, one has an upgraded username and one doesn't
Читать полностью…
Is anyone else noticing bot message edits showing in recent actions? For some reason on one bot it's not showing any recent actions but on the main bot it's causing a lot of recent actions
Читать полностью…
Where can I find source code for a Telegram shop bot? If you have any links or GitHub repositories, I'd really appreciate it if you could share them.
Читать полностью…
Is there a way to submit a feature request to the telegram api developers? Just noticed that you can set icon_color in the createForumTopic but not in the EditFormTopic
Читать полностью…
what was the problem yesterday? sorry my phone went down
Читать полностью…
Hi Sky => EF Please post code or tracebacks using a pastebin rather than via plain text or a picture. https://pastebin.com/ is quite popular, but there are many alternatives out there. Of course, for very short snippets, text is fine. Please at least format it as monospace in that case., we like to keep our groups readable and thus require long code to be in a pastebin.
⚠️ The code snippet(s) in your message have been moved to https://pastebin.poolitzer.eu/p/PYeK6N.py. Your original message will be deleted in a minute, please reply to this message with your query.
Does PicklePersistence attempt to copy the bot when you store BotData?
Читать полностью…
Hello is PTB currently supporting text rich format?
Читать полностью…
Wiki of python-telegram-bot - Category Must read
Tutorial: Your first bot