Added very important spelling correction module #12
3
modules/troll-spelling-corrector/index.py
Normal file
3
modules/troll-spelling-corrector/index.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
def process(message, path):
|
||||||
|
if "силк" in message.text.lower() or "лінк" in message.text.lower():
|
||||||
|
return "*посилання 🌚", None
|
6
modules/troll-spelling-corrector/meta.json
Normal file
6
modules/troll-spelling-corrector/meta.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"start_on_boot": true,
|
||||||
|
"alias": "troll-spelling-corrector",
|
||||||
|
"version": 2,
|
||||||
|
"index_file": "index.py"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user