-
Notifications
You must be signed in to change notification settings - Fork 82
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
Telebot: Fix deprecated RegexHandler and change order of handlers. #61
base: master
Are you sure you want to change the base?
Conversation
[*] Fix the "RegexHandler is deprecated. See https://git.io/fxJuV for more info" in Telebot. [*] Change order of handlers to cats the regexp (download command) before the common text (book search) in Telebot. modified: management/commands/sopds_telebot.py
Does this solve the download issue? |
The telegram bot isn't starting, and we have mitshel/sopds#61 with the fix.
For me - yes |
Interesting. I set up a fork where I pulled in both of your PR's, and I'm getting an error.
Do you have any thoughts off the top of your head? Any guidance is appreciated. Thanks! |
Strange. But it is depend on version of python telegram package. what do you have an output of |
I have a solution for you ... |
Thank you!! |
[] Fix the "RegexHandler is deprecated. See https://git.io/fxJuV
for more info" in Telebot.
[] Change order of handlers to cats the regexp (download command)
before the common text (book search) in Telebot.
modified: management/commands/sopds_telebot.py