mirror of
https://github.com/civsocit/olgram.git
synced 2023-07-22 01:29:12 +03:00
info
This commit is contained in:
parent
d83ff39067
commit
971fd178f2
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user