소스 검색

not again

TheHamkerCat 5 년 전
부모
커밋
4eed11f02b
1개의 변경된 파일과 2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      wbb/utils/json_prettify.py

+ 2 - 1
wbb/utils/json_prettify.py

@@ -2,7 +2,8 @@ async def json_object_prettify(objecc):
     dicc = objecc.__dict__
     dicc = objecc.__dict__
     output = ""
     output = ""
     for key , value in dicc.items():
     for key , value in dicc.items():
-        if key == "pinned_message" or key == "photo" or key == "_":
+        if key == "pinned_message" or key == "photo" \
+                or key == "_" or key == "_client":
             continue
             continue
         output += f"**{key}:** `{value}`\n"
         output += f"**{key}:** `{value}`\n"
     return output
     return output