TheHamkerCat 5 년 전
부모
커밋
c37be5f214
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  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)