Spaces:
Sleeping
Sleeping
Captain Ezio
commited on
Commit
·
bd695a7
1
Parent(s):
77ca3af
Update bot_class.py
Browse files- Powers/bot_class.py +0 -4
Powers/bot_class.py
CHANGED
@@ -2,7 +2,6 @@ from platform import python_version
|
|
2 |
from threading import RLock
|
3 |
from time import gmtime, strftime, time
|
4 |
from aiohttp import ClientSession
|
5 |
-
from Python_ARQ import ARQ
|
6 |
import asyncio
|
7 |
|
8 |
from pyrogram import Client, __version__
|
@@ -19,8 +18,6 @@ from Powers import (
|
|
19 |
NO_LOAD,
|
20 |
UPTIME,
|
21 |
WORKERS,
|
22 |
-
ARQ_API_URL,
|
23 |
-
ARQ_API_KEY,
|
24 |
load_cmds,
|
25 |
)
|
26 |
from Powers.database import MongoDB
|
@@ -36,7 +33,6 @@ if MESSAGE_DUMP == -100 or not str(MESSAGE_DUMP).startswith("-100"):
|
|
36 |
)
|
37 |
|
38 |
aiohttpsession = ClientSession()
|
39 |
-
arq = ARQ(ARQ_API_URL, ARQ_API_KEY, aiohttpsession)
|
40 |
|
41 |
class Gojo(Client):
|
42 |
"""Starts the Pyrogram Client on the Bot Token when we do 'python3 -m Powers'"""
|
|
|
2 |
from threading import RLock
|
3 |
from time import gmtime, strftime, time
|
4 |
from aiohttp import ClientSession
|
|
|
5 |
import asyncio
|
6 |
|
7 |
from pyrogram import Client, __version__
|
|
|
18 |
NO_LOAD,
|
19 |
UPTIME,
|
20 |
WORKERS,
|
|
|
|
|
21 |
load_cmds,
|
22 |
)
|
23 |
from Powers.database import MongoDB
|
|
|
33 |
)
|
34 |
|
35 |
aiohttpsession = ClientSession()
|
|
|
36 |
|
37 |
class Gojo(Client):
|
38 |
"""Starts the Pyrogram Client on the Bot Token when we do 'python3 -m Powers'"""
|