mirror of
https://github.com/civsocit/olgram.git
synced 2023-07-22 01:29:12 +03:00
ещё немного статистики
This commit is contained in:
parent
878abc6a0f
commit
36a0bc0f95
@ -22,6 +22,8 @@ async def info(message: types.Message, state: FSMContext):
|
|||||||
|
|
||||||
bots_count = len(await models.Bot.all())
|
bots_count = len(await models.Bot.all())
|
||||||
user_count = len(await models.User.all())
|
user_count = len(await models.User.all())
|
||||||
|
templates_count = len(await models.DefaultAnswer.all())
|
||||||
|
|
||||||
await message.answer(f"Количество ботов: {bots_count}\n"
|
await message.answer(f"Количество ботов: {bots_count}\n"
|
||||||
f"Количество пользователей: {user_count}\n")
|
f"Количество пользователей: {user_count}\n"
|
||||||
|
f"Шаблонов ответов: {templates_count}\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user