fix-owner-my

This commit is contained in:
Untone 2023-09-18 10:02:15 +03:00
parent bf4beaf59e
commit 467dbb6879

View File

@ -1,6 +1,7 @@
from storage import Profile, scan
from api import get_member, send_message, get_chat_administrators
from utils.mention import userdata_extract
import json
async def construct_unlink_buttons(actor):
@ -53,6 +54,7 @@ async def handle_command_my(msg, state):
async def handle_command_owner_my(msg):
chat_id = msg["chat"]["id"]
if chat_id < 0: # is not private
r = await get_chat_administrators(chat_id)
print(r)
owner_id = ""