Ver Fonte

not again

TheHamkerCat há 5 anos atrás
pai
commit
4eed11f02b
1 ficheiros alterados com 2 adições e 1 exclusões
  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__
     output = ""
     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
         output += f"**{key}:** `{value}`\n"
     return output