bart-kneepkens / SpellingCopBot

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

When a corrected word contains the original word, do not correct it #13

Closed Agadar closed 6 years ago

Agadar commented 6 years ago

An example: when you have a rule that corrects 'foo' to 'foo-bar', and a user sends 'foo-bar', then the bot corrects him with 'foo-bar'. This behavior seems incorrect.

bart-kneepkens commented 6 years ago

Fixed in 4b46edf.