-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Commands and \n after aren't processed by CommandHandler #868
Comments
Hi, Thanks for reporting this. We will take action soon. |
@kisik21 re: urllib3 |
@tsnoam re: re: urllib3
|
@kisik21 that conflicts with the version you specified in the initial report. |
@tsnoam oh, yeah, I accidentally mistaken one venv for another. |
Steps to reproduce
Make a bot with a CommandHandler
Send a command with \n after it without space! Like this:
Expected behaviour
Command should not be ignored...
Actual behaviour
...but it is ignored instead
Configuration
Operating System:
Gentoo
Version of Python, python-telegram-bot & dependencies:
$ python -m telegram
Okay, I installed urllib3...
Logs
Don't think this applies here.
The issue is probably the CommandHandler - I read the code, it thinks of \n as a part of command string. We need to strip these while detecting command names, I think...
The text was updated successfully, but these errors were encountered: