mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-07 04:14:51 +00:00
fx
This commit is contained in:
parent
ffb05e57ce
commit
6348766cce
2 changed files with 4 additions and 2 deletions
|
|
@ -60,7 +60,6 @@ async def kusonimeBypass(url: str, slug=None):
|
|||
LOGGER.error(err)
|
||||
result.update({"error": True, "error_message": err})
|
||||
finally:
|
||||
LOGGER.info(result)
|
||||
await http.delete(_url)
|
||||
return result
|
||||
|
||||
|
|
@ -93,7 +92,7 @@ async def byPassPh(url: str, name: str):
|
|||
{{/data}}
|
||||
""".strip()
|
||||
if not kusonime["error"]:
|
||||
html = render(template, kusonime)
|
||||
html = chevron.render(template, kusonime)
|
||||
telegraph = Telegraph()
|
||||
if not telegraph.get_access_token():
|
||||
await telegraph.create_account(short_name=bot_name)
|
||||
|
|
|
|||
|
|
@ -134,6 +134,9 @@ async def rm_delacc(client, message):
|
|||
async def instatus(client, message):
|
||||
if message.sender_chat:
|
||||
return await message.reply_msg("Not supported channel.", del_in=4)
|
||||
bstat = await app.get_chat_member(message.chat.id, client.me.id)
|
||||
if bstat.status.value != "administrator":
|
||||
return await message.reply_msg("Please give me all basic admin permission, to run this command.")
|
||||
start_time = time.perf_counter()
|
||||
user = await app.get_chat_member(message.chat.id, message.from_user.id)
|
||||
count = await app.get_chat_members_count(message.chat.id)
|
||||
|
|
|
|||
Loading…
Reference in a new issue