bart-kneepkens / SpellingCopBot

SpellingCop enforces custom spelling rules in Telegram chats
3 stars 1 forks source link

Support multiple corrections in a single message #10

Closed bart-kneepkens closed 7 years ago

bart-kneepkens commented 7 years ago

For example, let's say there is a rule that says that Pineapple should be replaced by Pepperoni, and Pizza should be corrected by Burger. Some chat member writes: "I love pineapple on my pizza". The current behaviour will reply to this message with: "I love Pepperoni on my pizza*". The new behaviour should reply to this message with: "I love Pepperoni on my Burger*".

bart-kneepkens commented 7 years ago

Completed in 9fe39ff.