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
Please don't spam the group with searches or commands, and go to a private chat with me instead. Thanks a lot, the other members will appreciate it 😊
Читать полностью…
Hey. You can find our documentation at Read the Docs.
Читать полностью…
after calling bot.log_out()
how do I use it again? It will work after 10 mins right?
From Python Package? I've already done that
Читать полностью…
I am making a large bot with many commands and categories , i am importing all modules and getting all handlers to use them in commandhandler with this code , it is working perfectly but i am worried , is there any more stable way of doing this ? https://pastebin.com/22RcSQKQ
Читать полностью…
I appreciate your help, I did everything you said but nothing happens, I will restart my PC hopefully that will help
Читать полностью…
Traceback (most recent call last):
File "F:\mahdi\code\main.py", line 2, in <module>
from telegram.ext import Updater, MessageHandler, filters, CommandHandler
ModuleNotFoundError: No module named 'telegram'
Hi, can anyone help me? please
I tried to reinstall the package and other solution but non of them worked, any suggustions ?
please read the info boxes in the documentation of the +ext.Job+ class !search
Читать полностью…
There is the 30-response per second limit for bots. I assume this limit also includes editing messages?
Читать полностью…
Please don't spam the group with searches or commands, and go to a private chat with me instead. Thanks a lot, the other members will appreciate it 😊
Читать полностью…
probably pip is installing in other python version and you are running script with other python version.
always use python -m pip install instead of pip install
uninstall all telegram libraries from terminal with pip or pip3 or pipx if u have them installed there
Читать полностью…
if you use pycharm go and install the package manually
Читать полностью…
its working pretty well actually , i just dont know i think my code could be better or i could do it in another way
Читать полностью…
The problem is when I hit run it's will run fine with no any problems but when I type in terminal
python main.py
To run the script it shows up with this error
for example i have 1 directory named 'modules' , inside that directory i have many categories such as 'moderation' and in each category i have commands
Читать полностью…
duoble check that you installed ptb to the correct (virtual) python environment/python version. Also double check the console output that's printed when you install ptb to check if any error messages are mentioned
Читать полностью…
not a game but more like a webpage. like the message @wallet sent furing their promotion.
Читать полностью…