Compare commits

...

2 Commits

Author SHA1 Message Date
3fa0b815f3 Merge pull request 'fix' (#7) from master into dev
Reviewed-on: https://gitea.chocomarsh.com/self/b-jokes/pulls/7
2025-07-08 01:07:33 +03:00
Egor Matveev
6509e58b6e fix
All checks were successful
Deploy Dev / Build (pull_request) Successful in 6s
Deploy Dev / Push (pull_request) Successful in 12s
Deploy Dev / Deploy dev (pull_request) Successful in 19s
2025-07-08 02:05:25 +04:00

View File

@ -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()