Merge pull request 'Added very important spelling correction module' (#12) from Misha1tigr/modular-bot-framework-for-telegram:master into master

Merging as a truly magnificent, state-of-art spelling check system that greatly improves not only the mere grammar, but the perception of this field in it's entirety.
Reviewed-on: #12
This commit is contained in:
dymik739 2023-11-09 13:33:21 +02:00
commit 29602f2adf
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,3 @@
def process(message, path):
if "силк" in message.text.lower() or "лінк" in message.text.lower():
return "*посилання 🌚", None

View File

@ -0,0 +1,6 @@
{
"start_on_boot": true,
"alias": "troll-spelling-corrector",
"version": 2,
"index_file": "index.py"
}