modular-bot-framework-for-t.../modules/troll-spelling-corrector/index.py

4 lines
157 B
Python
Raw Permalink Normal View History

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