This commit is contained in:
mihalin 2021-12-24 19:46:46 +03:00
parent d83ff39067
commit 971fd178f2

View File

@ -16,7 +16,8 @@ async def info(message: types.Message, state: FSMContext):
Команда /info
"""
if message.from_user.id != OlgramSettings.supervisor_id():
if message.chat.id != OlgramSettings.supervisor_id():
await message.answer("Недостаточно прав")
return
bots_count = len(await models.Bot.all())