瀏覽代碼

Restart notice

thehamkercat 5 年之前
父節點
當前提交
72efe7b58f
共有 1 個文件被更改,包括 3 次插入 和 4 次删除
  1. 3 4
      wbb/__init__.py

+ 3 - 4
wbb/__init__.py

@@ -87,9 +87,6 @@ else:
 # Bot client
 print("[INFO]: INITIALIZING BOT CLIENT")
 app = Client("wbb", bot_token=BOT_TOKEN, api_id=API_ID, api_hash=API_HASH)
-# ARQ client
-print("[INFO]: INITIALIZING ARQ")
-arq = ARQ(ARQ_API_URL, ARQ_API_KEY)
 # Telegraph client
 print("[INFO]: INITIALIZING TELEGRAPH")
 telegraph = Telegraph()
@@ -97,7 +94,9 @@ telegraph.create_account(short_name="wbb")
 # Aiohttp Client
 print("[INFO]: INITIALZING AIOHTTP SESSION")
 aiohttpsession = ClientSession()
-
+# ARQ Client
+print("[INFO]: INITIALIZING ARQ CLIENT")
+arq = ARQ(ARQ_API_URL, ARQ_API_KEY, aiohttpsession)
 
 BOT_ID = 0
 BOT_NAME = ""