From 1b55c589b385244f61ffde3e4c4bae7cf6eb28f7 Mon Sep 17 00:00:00 2001 From: Pavel Kirilin <win10@list.ru> Date: Mon, 29 Jun 2020 13:23:20 +0400 Subject: [PATCH] Fixed reply phrases. Signed-off-by: Pavel Kirilin <win10@list.ru> --- src/actions/replies.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/actions/replies.py b/src/actions/replies.py index 30a377f..0205368 100644 --- a/src/actions/replies.py +++ b/src/actions/replies.py @@ -27,6 +27,4 @@ async def welcome(event: events.ChatAction.Event): @config.telegram_client.on(events.NewMessage(pattern=r"^(П|п)ривет\.?", forwards=False)) @mark_unread async def hello(event): - await event.respond( - random.choice(["ЗдравÑтвуй!", "Добрый день!", "Добрейший вечерочек!"]) - ) + await event.respond(random.choice(["ЗдравÑтвуте!", "Добрый день!", "ПриветÑтвую."])) -- GitLab