Answer the question
In order to leave comments, you need to log in
How to process messages to the bot?
It's not just about a command like / cmd1 [arg]
Namely, about human text recognition, like: "When will Vova be on duty?" or "Who is on duty the day after tomorrow?".
The essence of the requests: to find out information about the duty, that is, the text should contain the Person (Name or "I") and possibly the date.
If there are libraries for this? (so as not to write on regular expressions).
There should also be an option that the question is generally leftist and he should also determine this.
Or is there something better than regular expressions that doesn't exist? After all, words can be rearranged, and you never know all the options in advance.
What needs to be done:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question