From 36a0bc0f95e79f0a9980de6af5a4ae724b259bac Mon Sep 17 00:00:00 2001 From: mihalin Date: Thu, 17 Feb 2022 02:56:11 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B5=D1=89=D1=91=20=D0=BD=D0=B5=D0=BC=D0=BD?= =?UTF-8?q?=D0=BE=D0=B3=D0=BE=20=D1=81=D1=82=D0=B0=D1=82=D0=B8=D1=81=D1=82?= =?UTF-8?q?=D0=B8=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- olgram/commands/info.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/olgram/commands/info.py b/olgram/commands/info.py index b73492b..eb1ef34 100644 --- a/olgram/commands/info.py +++ b/olgram/commands/info.py @@ -22,6 +22,8 @@ async def info(message: types.Message, state: FSMContext): bots_count = len(await models.Bot.all()) user_count = len(await models.User.all()) + templates_count = len(await models.DefaultAnswer.all()) await message.answer(f"Количество ботов: {bots_count}\n" - f"Количество пользователей: {user_count}\n") + f"Количество пользователей: {user_count}\n" + f"Шаблонов ответов: {templates_count}\n")