Compare commits
1 Commits
dev
...
4976afddc4
Author | SHA1 | Date | |
---|---|---|---|
4976afddc4 |
@@ -57,7 +57,7 @@ class PyroClient(PyroClient):
|
|||||||
self.config["bot"]["owner"]
|
self.config["bot"]["owner"]
|
||||||
]
|
]
|
||||||
|
|
||||||
self.sender_session: Union[ClientSession, None] = None
|
self.sender_session = ClientSession()
|
||||||
|
|
||||||
self.scopes_placeholders: Dict[str, int] = {
|
self.scopes_placeholders: Dict[str, int] = {
|
||||||
"owner": self.owner,
|
"owner": self.owner,
|
||||||
@@ -67,9 +67,6 @@ class PyroClient(PyroClient):
|
|||||||
async def start(self):
|
async def start(self):
|
||||||
await super().start()
|
await super().start()
|
||||||
|
|
||||||
if self.sender_session is None:
|
|
||||||
self.sender_session = ClientSession()
|
|
||||||
|
|
||||||
if self.config["reports"]["update"]:
|
if self.config["reports"]["update"]:
|
||||||
try:
|
try:
|
||||||
async with ClientSession(
|
async with ClientSession(
|
||||||
@@ -137,8 +134,6 @@ class PyroClient(PyroClient):
|
|||||||
)
|
)
|
||||||
|
|
||||||
await http_session.close()
|
await http_session.close()
|
||||||
|
|
||||||
if self.sender_session is not None:
|
|
||||||
await self.sender_session.close()
|
await self.sender_session.close()
|
||||||
|
|
||||||
await super().stop()
|
await super().stop()
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
aiohttp~=3.10.2
|
aiohttp~=3.9.1
|
||||||
async_pymongo==0.1.6
|
|
||||||
convopyro==0.5
|
convopyro==0.5
|
||||||
pillow~=10.4.0
|
pillow~=10.3.0
|
||||||
pykeyboard==0.1.7
|
pykeyboard==0.1.7
|
||||||
pytimeparse~=1.1.8
|
pytimeparse~=1.1.8
|
||||||
tgcrypto==1.2.5
|
tgcrypto==1.2.5
|
||||||
#uvloop==0.19.0
|
#uvloop==0.19.0
|
||||||
--extra-index-url https://git.end-play.xyz/api/packages/profitroll/pypi/simple
|
--extra-index-url https://git.end-play.xyz/api/packages/profitroll/pypi/simple
|
||||||
libbot[speed,pyrogram]==3.2.3
|
async_pymongo==0.1.4
|
||||||
|
libbot[speed,pyrogram]==3.2.0
|
||||||
photosapi_client==0.6.0
|
photosapi_client==0.6.0
|
Reference in New Issue
Block a user