master #9

Merged
emmatveev merged 10 commits from master into prod 2025-09-14 09:45:17 +03:00
Showing only changes of commit 6509e58b6e - Show all commits

View File

@ -55,6 +55,7 @@ def bot():
text = payload.get('text') text = payload.get('text')
if not text: if not text:
return return
text = text.lower()
for word in configurator.get_config('words'): for word in configurator.get_config('words'):
if word in text: if word in text:
mes = 'Держи шутку!\n' + get_random() mes = 'Держи шутку!\n' + get_random()