mirror of
https://github.com/civsocit/olgram.git
synced 2025-12-16 10:36:17 +00:00
info
This commit is contained in:
@@ -16,7 +16,8 @@ async def info(message: types.Message, state: FSMContext):
|
|||||||
Команда /info
|
Команда /info
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if message.from_user.id != OlgramSettings.supervisor_id():
|
if message.chat.id != OlgramSettings.supervisor_id():
|
||||||
|
await message.answer("Недостаточно прав")
|
||||||
return
|
return
|
||||||
|
|
||||||
bots_count = len(await models.Bot.all())
|
bots_count = len(await models.Bot.all())
|
||||||
|
|||||||
Reference in New Issue
Block a user