From 92ee6065367ba28679f3382419c481e9db01041d Mon Sep 17 00:00:00 2001 From: Administrator Date: Mon, 20 Feb 2023 18:46:55 +0300 Subject: [PATCH] ladno --- main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.py b/main.py index 938f4ba..edb0426 100644 --- a/main.py +++ b/main.py @@ -27,6 +27,7 @@ answers_kto = {"кто"} answers_200 = {"200", "двести"} answers_slysh = {"слышь", "слыш"} answers_hello = {"здрасте", "здрасьте"} +answers_ladno = {"ладно"} cache = TTLCache(settings.CACHE_SIZE, settings.CACHE_TTL) @@ -137,6 +138,8 @@ def do_action(message: Message): ans = "За углом поссышь!" if convert_text in answers_hello: ans = "Пизду покрасьте!" + if convert_text in answers_ladno: + ans = "Прохладно!" if ans is not None and randrange(1, 101) <= info["probability"]: bot.reply_to(message, ans) mongo.inc(message.from_user.username, message.chat.id)