TheHamkerCat před 5 roky
rodič
revize
c37be5f214
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      wbb/modules/misc.py

+ 1 - 1
wbb/modules/misc.py

@@ -191,7 +191,7 @@ async def cheat(_, message):
         )
         if not data:
             return await m.edit("Found Literally Nothing!")
-        if data > 4090:
+        if len(data) > 4090:
             with open("cheat.txt", "w") as f:
                 f.write(data)
             return await message.reply_document(data)