thehamkercat пре 5 година
родитељ
комит
8132666e46
3 измењених фајлова са 4 додато и 5 уклоњено
  1. 1 1
      requirements.txt
  2. 0 1
      wbb/__init__.py
  3. 3 3
      wbb/modules/log.py

+ 1 - 1
requirements.txt

@@ -11,7 +11,7 @@ pillow
 psutil
 pykeyboard
 pyrogram
-git+git://github.com/TheHamkerCat/pyromod
+pyromod
 python-arq
 requests
 search_engine_parser

+ 0 - 1
wbb/__init__.py

@@ -108,7 +108,6 @@ aiohttpsession = ClientSession()
 # ARQ Client
 print("[INFO]: INITIALIZING ARQ CLIENT")
 arq = ARQ(ARQ_API_URL, ARQ_API_KEY, aiohttpsession)
-listen.listen.PyroARQ(arq)
 # Bot client
 print("[INFO]: INITIALIZING BOT CLIENT")
 app = Client("wbb", bot_token=BOT_TOKEN, api_id=API_ID, api_hash=API_HASH)

+ 3 - 3
wbb/modules/log.py

@@ -16,8 +16,8 @@ async def logs_chat(_, message):
     keyboard = ikb([[("📎   Pastebin   📎", callback)]])
     time = (datetime.now()).strftime("%d/%m/%Y %H:%M:%S")
     caption = f"""
-**Time:** {time}
-**Log Type:** ERROR
+**Time:** `{time}`
+**Log Type:** `ERROR`
 """
     try:
         await message.reply_document(
@@ -31,7 +31,7 @@ async def logs_chat(_, message):
 async def paste_log_neko(_, cq: CallbackQuery):
     if cq.from_user.id not in SUDOERS:
         return await cq.answer(
-            "Stop clicking at whatever thing you come across."
+            "Stop clicking at whichever thing you come across."
         )
     async with aiofiles.open(log_file, mode="r") as f:
         link = await paste(await f.read())