ladno
This commit is contained in:
parent
29fcf1df35
commit
92ee606536
3
main.py
3
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)
|
||||
|
Loading…
Reference in New Issue
Block a user