Telebot: Fix deprecated RegexHandler and change order of handlers.#61
Telebot: Fix deprecated RegexHandler and change order of handlers.#61PeterVoronov wants to merge 1 commit into
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