diff --git a/main.py b/main.py index 4f46461..baabc71 100644 --- a/main.py +++ b/main.py @@ -55,6 +55,7 @@ def bot(): text = payload.get('text') if not text: return + text = text.lower() for word in configurator.get_config('words'): if word in text: mes = 'Держи шутку!\n' + get_random()