chore: don't depend on pyrogram when not needed
This commit is contained in:
parent
a9cfc9b522
commit
d0e42100c0
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
|
@ -13,7 +13,6 @@ from typing import Literal
|
|||
from datetime import datetime as Dt, timedelta as Td
|
||||
import urllib.parse as up
|
||||
|
||||
import pyrogram
|
||||
import requests
|
||||
|
||||
FETCH_DELAY = 50
|
||||
|
|
@ -277,6 +276,7 @@ class PacerClient:
|
|||
|
||||
|
||||
async def update_runs(delay: float | int = 5):
|
||||
import pyrogram
|
||||
c = pyrogram.client.Client('user')
|
||||
await c.start()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue