Quellcode durchsuchen

Merge branch 'dev' of https://github.com/thehamkercat/williambutcherbot into dev

thehamkercat vor 5 Jahren
Ursprung
Commit
feea194632
2 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. 1 1
      requirements.txt
  2. 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

+ 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())